diff options
Diffstat (limited to 'src/lockdown.c')
-rw-r--r-- | src/lockdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 20c3cb6..29dde02 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -1267,6 +1267,8 @@ static lockdownd_error_t lockdownd_do_start_service(lockdownd_client_t client, c plist_get_string_val(error_node, &error); if (!strcmp(error, "InvalidService")) { ret = LOCKDOWN_E_INVALID_SERVICE; + } else if (!strcmp(error, "ServiceLimit")) { + ret = LOCKDOWN_E_SERVICE_LIMIT; } else if (!strcmp(error, "NoRunningSession")) { ret = LOCKDOWN_E_NO_RUNNING_SESSION; } |