summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c4
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;
}