]> Dogcows Code - chaz/tar/blobdiff - src/compare.c
Avoid overwriting exit_status with a value indicating less important condition.
[chaz/tar] / src / compare.c
index 57732cccaa7fdadf51c872019252002ace7457e7..cb1f3a8bd2b0b94569067f74bdb6db82a520e679 100644 (file)
@@ -66,8 +66,7 @@ report_difference (struct tar_stat_info *st, const char *fmt, ...)
       fprintf (stdlis, "\n");
     }
 
-  if (exit_status == TAREXIT_SUCCESS)
-    exit_status = TAREXIT_DIFFERS;
+  set_exit_status (TAREXIT_DIFFERS);
 }
 
 /* Take a buffer returned by read_and_process and do nothing with it.  */
This page took 0.025573 seconds and 4 git commands to generate.