]> pd.if.org Git - zpackage/commitdiff
cleanup syncfs output
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 3 Mar 2019 08:51:46 +0000 (08:51 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 3 Mar 2019 08:51:46 +0000 (08:51 +0000)
src/syncfs.c

index ebd06722a7ae81fac4a3fb3a6de51453c27d93cf..80a2ced30d17f112282a2f4e99879c88d1daf286 100644 (file)
@@ -1688,7 +1688,7 @@ int main(int ac, char **av) {
                        runstage(&conf, "new", check_existing);
                }
 
-               if (conf.verbose) {
+               if (conf.verbose && !conf.errors) {
                        fprintf(stderr, "beginning %ssync\n", conf.dryrun ?
                                        "dryrun " : "");
                }