summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar tomriddly2023-07-19 17:37:14 +0800
committerGravatar Nikias Bassen2023-07-21 00:42:53 +0700
commitab26b03baf862157900c9b9be35b382ddc7e245d (patch)
tree101def1ead876139658f8c1403328fbb11c9108c
parent835e626f1413a520093a5f1fa5c797016c13d80f (diff)
downloadideviceinstaller-ab26b03baf862157900c9b9be35b382ddc7e245d.tar.gz
ideviceinstaller-ab26b03baf862157900c9b9be35b382ddc7e245d.tar.bz2
Fix wrong exit code on specific output format (xml or json)
-rw-r--r--src/ideviceinstaller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 8f8b2a9..d2efbd3 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -925,6 +925,7 @@ run_again:
free(buf);
}
plist_free(apps);
+ res = 0;
goto leave_cleanup;
}