]> Zhao Yanbai Git Server - minix.git/commitdiff
Accept 0 things to indicate progress of
authorBen Gras <ben@minix3.org>
Fri, 9 Sep 2005 16:02:43 +0000 (16:02 +0000)
committerBen Gras <ben@minix3.org>
Fri, 9 Sep 2005 16:02:43 +0000 (16:02 +0000)
commands/simple/progressbar.c

index 164f74a26c003a2233028d73fc1c7ea1d0f5a5da..26b70a03922deef6ebfa514faaafee1feae5ea78 100755 (executable)
@@ -54,7 +54,7 @@ char *argv[];
        time_t start;
        if(argc < 2) return 1;
        count = atol(argv[1]);
-       if(count < 1) return 1;
+       if(count < 0) return 1;
        time(&start);
        printf("\n");
 #define LINES 5