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

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 17 13:57:49 PST 2009


Revision: 23820
          http://trac.macosforge.org/projects/launchd/changeset/23820
Author:   dsorresso at apple.com
Date:     2009-02-17 13:57:48 -0800 (Tue, 17 Feb 2009)
Log Message:
-----------
One more fix.

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:56:42 UTC (rev 23819)
+++ branches/PR-6271234/launchd/src/launchd_core_logic.c	2009-02-17 21:57:48 UTC (rev 23820)
@@ -8623,7 +8623,7 @@
 	char *try_again = "Will try again at next boot.";
 	int result = ~0;
 	
-	if( unlikely(stat(argv[0], &sb) != -1) ) {
+	if( unlikely(stat(argv[1], &sb) != -1) ) {
 		jobmgr_log(root_jobmgr, LOG_DEBUG | LOG_CONSOLE, "Going to run deferred install script.");
 		
 		int wstatus;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090217/8da5c78d/attachment.html>


More information about the launchd-changes mailing list