aboutsummaryrefslogtreecommitdiffstats
path: root/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sleep.c')
-rw-r--r--sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleep.c b/sleep.c
index 0f1d9e3..e27dce3 100644
--- a/sleep.c
+++ b/sleep.c
@@ -4,6 +4,6 @@
int main(int argc, char *argv[])
{
- if (argc > 0)
+ if (argc > 1)
sleep(atoi(argv[1]));
}