summaryrefslogtreecommitdiff
path: root/coreutils/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sync.c')
-rw-r--r--coreutils/sync.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/coreutils/sync.c b/coreutils/sync.c
index fc5a42b..3d4686e 100644
--- a/coreutils/sync.c
+++ b/coreutils/sync.c
@@ -23,11 +23,13 @@
#include "busybox.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
extern int sync_main(int argc, char **argv)
{
if (argc > 1 && **(argv + 1) == '-')
show_usage();
- return(sync());
+ sync();
+ return(EXIT_SUCCESS);
}