Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
[oweals/busybox.git] / sync.c
diff --git a/sync.c b/sync.c
index 33c79228d7108f5398aee9492cd9824f8dccd3ce..db35d72faec2aacb8e5f1b924e4a13c5714d3454 100644 (file)
--- a/sync.c
+++ b/sync.c
@@ -33,5 +33,5 @@ extern int sync_main(int argc, char **argv)
 #endif
                                );
        }
-       exit(sync());
+       return(sync());
 }