diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/dmesg.c | 3 | ||||
-rw-r--r-- | util-linux/fbset.c | 2 | ||||
-rw-r--r-- | util-linux/fdflush.c | 2 | ||||
-rw-r--r-- | util-linux/freeramdisk.c | 2 | ||||
-rw-r--r-- | util-linux/mkswap.c | 2 | ||||
-rw-r--r-- | util-linux/more.c | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index c4f4fb4..20846f7 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -128,6 +128,5 @@ int dmesg_main(int argc, char **argv) exit(FALSE); klogctl_error: perror("klogctl"); - exit(FALSE); - + return(FALSE); } diff --git a/util-linux/fbset.c b/util-linux/fbset.c index de4c824..0a84dce 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -329,5 +329,5 @@ extern int fbset_main(int argc, char **argv) /* Don't close the file, as exiting will take care of that */ /* close(fh); */ - exit (TRUE); + return (TRUE); } diff --git a/util-linux/fdflush.c b/util-linux/fdflush.c index 4ec0a88..81f0472 100644 --- a/util-linux/fdflush.c +++ b/util-linux/fdflush.c @@ -56,5 +56,5 @@ extern int fdflush_main(int argc, char **argv) perror(*argv); exit(FALSE); } - exit(TRUE); + return(TRUE); } diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index cabe566..fdac5ea 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -58,7 +58,7 @@ freeramdisk_main(int argc, char **argv) /* Don't bother closing. Exit does * that, so we can save a few bytes */ /* close(f); */ - exit(TRUE); + return(TRUE); } /* diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 7d76916..fc37368 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -469,5 +469,5 @@ the -f option to force it.\n", program_name, device_name); */ if (fsync(DEV)) die("fsync failed"); - exit(TRUE); + return(TRUE); } diff --git a/util-linux/more.c b/util-linux/more.c index 549a417..1310165 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -221,5 +221,5 @@ extern int more_main(int argc, char **argv) #ifdef BB_FEATURE_USE_TERMIOS gotsig(0); #endif - exit(TRUE); + return(TRUE); } |