aboutsummaryrefslogtreecommitdiff
path: root/toys/false.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/false.c')
-rw-r--r--toys/false.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/false.c b/toys/false.c
index 48b9d65a..e8f585c5 100644
--- a/toys/false.c
+++ b/toys/false.c
@@ -5,7 +5,7 @@
#include "toys.h"
-int false_main(void)
+void false_main(void)
{
- return 1;
+ toys.exitval = 1;
}