diff options
author | Nikias Bassen | 2014-08-20 08:13:21 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-08-20 08:13:21 +0200 |
commit | ab04a35991dde200fa9bf5e7ddd458ea6f159b5e (patch) | |
tree | e4fba0e7939a59ef0472bbf7e0761fcf1334a49f /src/ideviceinstaller.c | |
parent | 11d0a9a9b11be238eb553be5973c8c3381f00867 (diff) | |
download | ideviceinstaller-ab04a35991dde200fa9bf5e7ddd458ea6f159b5e.tar.gz ideviceinstaller-ab04a35991dde200fa9bf5e7ddd458ea6f159b5e.tar.bz2 |
Return non-zero exit status (128) when device error occurrs
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r-- | src/ideviceinstaller.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 37709d2..3bc7e74 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -1450,5 +1450,9 @@ leave_cleanup: free(options); } + if (err_occurred && !res) { + res = 128; + } + return res; } |