]> git.wh0rd.org - dump.git/blobdiff - dump/main.c
Fix in the return code of dump when using the size estimate option.
[dump.git] / dump / main.c
index 263945a2543d05c692ed274d4d1a321c592cf88c..3c56b84cfb43a82330b7539c445d873b393cef8c 100644 (file)
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.9 1999/11/22 19:08:50 tiniou Exp $";
+       "$Id: main.c,v 1.10 1999/12/17 10:14:59 tiniou Exp $";
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -515,7 +515,7 @@ main(int argc, char *argv[])
 
        if (sizest) {
                printf("%ld\n", tapesize + 10);
-               exit(X_STARTUP);
+               exit(X_FINOK);
        } /* stop here for size estimate */
 
        if (pipeout || unlimited) {