diff options
| -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 99bcbb5..9b579e8 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -442,6 +442,8 @@ lockdownd_error_t lockdownd_get_value(lockdownd_client_t client, const char *dom | |||
| 442 | if (lockdown_check_result(dict, "GetValue") == RESULT_SUCCESS) { | 442 | if (lockdown_check_result(dict, "GetValue") == RESULT_SUCCESS) { |
| 443 | debug_info("success"); | 443 | debug_info("success"); |
| 444 | ret = LOCKDOWN_E_SUCCESS; | 444 | ret = LOCKDOWN_E_SUCCESS; |
| 445 | } else { | ||
| 446 | ret = LOCKDOWN_E_UNKNOWN_ERROR; | ||
| 445 | } | 447 | } |
| 446 | if (ret != LOCKDOWN_E_SUCCESS) { | 448 | if (ret != LOCKDOWN_E_SUCCESS) { |
| 447 | plist_free(dict); | 449 | plist_free(dict); |
