Projects
Browse Source     Search     Timeline     Wiki

Changeset 23311

Show
Ignore:
Timestamp:
07/16/07 09:46:32 (17 months ago)
Author:
zarzycki@…
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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchctl.c

    r23308 r23311  
    452452        } 
    453453 
    454         assumes(_vproc_send_signal_by_label(launch_data_get_string(tmps), VPROC_MAGIC_UNLOAD_SIGNAL) == NULL); 
     454        if (_vproc_send_signal_by_label(launch_data_get_string(tmps), VPROC_MAGIC_UNLOAD_SIGNAL) != NULL) { 
     455                fprintf(stderr, "%s: Error unloading: %s\n", getprogname(), launch_data_get_string(tmps)); 
     456        } 
    455457} 
    456458