diff options
Diffstat (limited to 'toys/sleep.c')
-rw-r--r-- | toys/sleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/sleep.c b/toys/sleep.c index 06c4565d..1426690f 100644 --- a/toys/sleep.c +++ b/toys/sleep.c @@ -5,7 +5,7 @@ #include "toys.h" -int sleep_main(void) +void sleep_main(void) { - return sleep(atol(*toys.optargs)); + toys.exitval = sleep(atol(*toys.optargs)); } |