summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/randsleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/randsleep.c b/src/randsleep.c
index d06fb0a..389e3a7 100644
--- a/src/randsleep.c
+++ b/src/randsleep.c
@@ -7,8 +7,8 @@ int main (int argc, char **argv) {
long maxsleep;
struct timespec ntime;
- if (argc < 2) {
- fputs("Usage: randsleep <max> <cmd>", stdout);
+ if (argc <= 2) {
+ fputs("Usage: randsleep <max> <cmd>\n", stdout);
return 1;
}