svn commit: trunk/busybox/coreutils

landley at busybox.net landley at busybox.net
Wed May 24 17:58:01 UTC 2006


Author: landley
Date: 2006-05-24 10:58:00 -0700 (Wed, 24 May 2006)
New Revision: 15164

Log:
Two more issues pointed out by Bernhard.


Modified:
   trunk/busybox/coreutils/nohup.c


Changeset:
Modified: trunk/busybox/coreutils/nohup.c
===================================================================
--- trunk/busybox/coreutils/nohup.c	2006-05-24 17:54:45 UTC (rev 15163)
+++ trunk/busybox/coreutils/nohup.c	2006-05-24 17:58:00 UTC (rev 15164)
@@ -2,7 +2,7 @@
 /* nohup - invoke a utility immune to hangups.
  * 
  * Busybox version based on nohup specification at
- * http://www.opengroup.org/onlinepubs/007904975/utilities/sed.html
+ * http://www.opengroup.org/onlinepubs/007904975/utilities/nohup.html
  * 
  * Copyright 2006 Rob Landley <rob at landley.net>
  * 
@@ -19,6 +19,10 @@
 	int temp, nullfd;
 	char *nohupout = "nohup.out", *home = NULL;
 
+	// I have no idea why the standard cares about this.
+
+	bb_default_error_retval = 127;
+
 	if (argc<2) bb_show_usage();
 
 	nullfd = bb_xopen(bb_dev_null, O_WRONLY|O_APPEND);




More information about the busybox-cvs mailing list