summaryrefslogtreecommitdiff
path: root/src/randsleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/randsleep.c')
-rw-r--r--src/randsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/randsleep.c b/src/randsleep.c
index ea9c588..46c6353 100644
--- a/src/randsleep.c
+++ b/src/randsleep.c
@@ -19,7 +19,7 @@ int main (int argc, char **argv) {
srand(ntime.tv_nsec);
- sleep(rand() % maxsleep);
+ sleep((rand() % maxsleep) + 1);
if (argc > 2) {
execvp(argv[2], argv + 2);