diff options
author | thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2015-01-27 18:57:31 +0000 |
---|---|---|
committer | thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2015-01-27 18:57:31 +0000 |
commit | ec189725d81a238ccf990bbf2bc015013abac913 (patch) | |
tree | c0056f950f0c5897ffc6c9a0a4180a04e8f41ad0 /Foundation/GTMNSAppleScript+Handler.m | |
parent | bcd422d399ef41f1c7cbf237b8e9100be5e0dcc8 (diff) |
Make GTMSMJobRemove() have the same behavior on OSX 10.10+ as it has on
previous OSX versions.
In OSX 10.10+, launch_msg(LAUNCH_KEY_REMOVEJOB, ...) returns the error
EINPROGRESS if the job was running at the time it was removed. In OSX 10.9 and
earlier, the same function call returns success. This CL makes GTMSMJobRemove()
treat the error EINPROGRESS as success on OSX 10.10+.
Diffstat (limited to 'Foundation/GTMNSAppleScript+Handler.m')
0 files changed, 0 insertions, 0 deletions