From fd4c9ba49120bb0885491e953d7872b541ffa5a7 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 10 Aug 2010 08:44:45 -0700 Subject: [PATCH] Incremental: return success in 'container not enough' case Commit 97b4d0e9 "Incremental: honor an 'enough' flag from external handlers" introduced a regression in that it changed the error return code for successful invocations. Signed-off-by: Dan Williams Reported-by: Ignacy Kasperowicz --- Incremental.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Incremental.c b/Incremental.c index a8a072d..e4b6196 100644 --- a/Incremental.c +++ b/Incremental.c @@ -264,7 +264,7 @@ int Incremental(char *devname, int verbose, int runstop, else { if (verbose) fprintf(stderr, Name ": not enough devices to start the container\n"); - return 1; + return 0; } /* This is a pre-built container array, so we do something