From: Ben Gras Date: Fri, 9 Sep 2005 16:02:43 +0000 (+0000) Subject: Accept 0 things to indicate progress of X-Git-Tag: v3.1.0~138 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=fe5e1c7d5951421e11bdf140cdf1be7b75b3cb00;p=minix.git Accept 0 things to indicate progress of --- diff --git a/commands/simple/progressbar.c b/commands/simple/progressbar.c index 164f74a26..26b70a039 100755 --- a/commands/simple/progressbar.c +++ b/commands/simple/progressbar.c @@ -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