diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 8d75c145..98faff54 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -159,14 +159,14 @@ function upgrade_xmpp { wget $prosody_nightly_url if [ ! -f ${INSTALL_DIR}/${prosody_filename}.tar.gz ]; then echo $"Failed to download prosody nightly $prosody_nightly_url" - exit 345782 + return fi hash_value=$(sha256sum ${INSTALL_DIR}/${prosody_filename}.tar.gz | awk -F ' ' '{print $1}') if [[ "$hash_value" != "$prosody_nightly_hash" ]]; then rm ${INSTALL_DIR}/${prosody_filename}.tar.gz echo $'Unexpected hash value for prosody nightly download' - exit 6824283 + return fi tar -xzvf ${INSTALL_DIR}/${prosody_filename}.tar.gz @@ -178,7 +178,7 @@ function upgrade_xmpp { echo $'Failed to build prosody nightly to /usr/bin' rm ${INSTALL_DIR}/${prosody_filename}.tar.gz rm -rf ${INSTALL_DIR}/${prosody_filename} - exit 3672345 + return fi rm ${INSTALL_DIR}/${prosody_filename}.tar.gz fi