[launchd-changes] [23819] branches/PR-6271234/launchd/src/launchd_core_logic.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 17 13:56:42 PST 2009


Revision: 23819
          http://trac.macosforge.org/projects/launchd/changeset/23819
Author:   dsorresso at apple.com
Date:     2009-02-17 13:56:42 -0800 (Tue, 17 Feb 2009)
Log Message:
-----------
Let's not delete /bin/sh.

Modified Paths:
--------------
    branches/PR-6271234/launchd/src/launchd_core_logic.c

Modified: branches/PR-6271234/launchd/src/launchd_core_logic.c
===================================================================
--- branches/PR-6271234/launchd/src/launchd_core_logic.c	2009-02-17 21:48:01 UTC (rev 23818)
+++ branches/PR-6271234/launchd/src/launchd_core_logic.c	2009-02-17 21:56:42 UTC (rev 23819)
@@ -8658,7 +8658,7 @@
 		 * that the file exists. Outside of someone deliberately messing with us (like if /etc/rc.deferredinstall
 		 * is actually a looping sym-link or a mount point for a filesystem) and I/O errors, we should be good.
 		 */
-		if( !jobmgr_assumes(root_jobmgr, unlink(argv[0]) != -1) ) {
+		if( !jobmgr_assumes(root_jobmgr, unlink(argv[1]) != -1) ) {
 			jobmgr_log(root_jobmgr, LOG_WARNING | LOG_CONSOLE, "Deferred install script couldn't be removed!");
 		}
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090217/df81e097/attachment-0001.html>


More information about the launchd-changes mailing list