X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.c;h=4eab9f65348990e5f4f95568623f032376a43b4e;hp=458faf884d4b441313b02ced6e137aaca425e933;hb=926c584394c29354752458b06f7226f0da0dd35e;hpb=806fcbb5a8c00d6b8c1a228b9b4d6b6758f613ca diff --git a/command.c b/command.c index 458faf88..4eab9f65 100644 --- a/command.c +++ b/command.c @@ -335,7 +335,7 @@ int com_stat(int fd, int argc, char * const * argv) if (ret < 0) goto out; ret = 1; - if (num == 1) + if (num > 0 && !--num) goto out; sleep(50); if (getppid() == 1)