Merge refs/heads/master from .
[gitweb.git] / merge-cache.c
index b2893e6e2d524542fa375d409a36623cb2f5478d..744681b24fc9a3690b5d10f50b62d5887b8ed7f3 100644 (file)
@@ -30,7 +30,7 @@ static void run_program(void)
                if (one_shot) {
                        err++;
                } else {
-                       if (quiet)
+                       if (!quiet)
                                die("merge program failed");
                        exit(1);
                }
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
                }
                merge_file(arg);
        }
-       if (err && quiet)
+       if (err && !quiet)
                die("merge program failed");
        return err;
 }