[launchd-changes] [23311] trunk/launchd/src/launchctl.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 16 09:46:33 PDT 2007
Revision: 23311
http://trac.macosforge.org/projects/launchd/changeset/23311
Author: zarzycki at apple.com
Date: 2007-07-16 09:46:32 -0700 (Mon, 16 Jul 2007)
Log Message:
-----------
<rdar://problem/5337302> Bug: launchctl.c:452 (23304):25: _vproc_send_signal_by_label(launch_data_get_string(tmps), VPROC_MAGIC_UNLOAD_SIGNAL) == NULL
Modified Paths:
--------------
trunk/launchd/src/launchctl.c
Modified: trunk/launchd/src/launchctl.c
===================================================================
--- trunk/launchd/src/launchctl.c 2007-07-16 15:47:31 UTC (rev 23310)
+++ trunk/launchd/src/launchctl.c 2007-07-16 16:46:32 UTC (rev 23311)
@@ -451,7 +451,9 @@
return;
}
- assumes(_vproc_send_signal_by_label(launch_data_get_string(tmps), VPROC_MAGIC_UNLOAD_SIGNAL) == NULL);
+ if (_vproc_send_signal_by_label(launch_data_get_string(tmps), VPROC_MAGIC_UNLOAD_SIGNAL) != NULL) {
+ fprintf(stderr, "%s: Error unloading: %s\n", getprogname(), launch_data_get_string(tmps));
+ }
}
launch_data_t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070716/4e4e34f6/attachment.html
More information about the launchd-changes
mailing list