aboutsummaryrefslogtreecommitdiff
path: root/coreutils/nohup.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
commite1a0d486e4804eae098571f1a6788394c2ee51ae (patch)
treec6f3435738900c8d53832eb919b1b2c3d524f2e5 /coreutils/nohup.c
parentdd2982882bb192ea757f32514bc2ea0bc96f5ba0 (diff)
downloadbusybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.gz
busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.bz2
busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.zip
message string changes, mostly for consistency, also -32 bytes in .rodata
Diffstat (limited to 'coreutils/nohup.c')
-rw-r--r--coreutils/nohup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/nohup.c b/coreutils/nohup.c
index 439fbb173..21adfc1c3 100644
--- a/coreutils/nohup.c
+++ b/coreutils/nohup.c
@@ -42,12 +42,12 @@ int nohup_main(int argc, char **argv)
42 * Else redirect to /dev/null. 42 * Else redirect to /dev/null.
43 */ 43 */
44 temp = isatty(STDERR_FILENO); 44 temp = isatty(STDERR_FILENO);
45 if (temp) bb_error_msg("Appending to %s", nohupout); 45 if (temp) bb_error_msg("appending to %s", nohupout);
46 dup2(temp ? STDOUT_FILENO : nullfd, STDERR_FILENO); 46 dup2(temp ? STDOUT_FILENO : nullfd, STDERR_FILENO);
47 close(nullfd); 47 close(nullfd);
48 signal (SIGHUP, SIG_IGN); 48 signal (SIGHUP, SIG_IGN);
49 49
50 execvp(argv[1],argv+1); 50 execvp(argv[1],argv+1);
51 if (00 && ENABLE_FEATURE_CLEAN_UP && home) free(nohupout); 51 if (00 && ENABLE_FEATURE_CLEAN_UP && home) free(nohupout);
52 bb_perror_msg_and_die("%s",argv[1]); 52 bb_perror_msg_and_die("%s", argv[1]);
53} 53}