aboutsummaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync.c b/sync.c
index fc5a42b8a..3d4686efa 100644
--- a/sync.c
+++ b/sync.c
@@ -23,11 +23,13 @@
23 23
24#include "busybox.h" 24#include "busybox.h"
25#include <stdio.h> 25#include <stdio.h>
26#include <stdlib.h>
26#include <unistd.h> 27#include <unistd.h>
27 28
28extern int sync_main(int argc, char **argv) 29extern int sync_main(int argc, char **argv)
29{ 30{
30 if (argc > 1 && **(argv + 1) == '-') 31 if (argc > 1 && **(argv + 1) == '-')
31 show_usage(); 32 show_usage();
32 return(sync()); 33 sync();
34 return(EXIT_SUCCESS);
33} 35}