From fe5e1c7d5951421e11bdf140cdf1be7b75b3cb00 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 9 Sep 2005 16:02:43 +0000 Subject: [PATCH] Accept 0 things to indicate progress of --- commands/simple/progressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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