diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 3b829c38..f8cf7ca2 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -717,8 +717,7 @@ function mesh_tox_client { echo "cd $INSTALL_DIR/toxic"; echo "git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT"; echo "export DISABLE_DESKTOP_NOTIFY=$toxic_disable_notify"; - echo 'make'; - echo 'if [ ! "$?" = "0" ]; then'; + echo 'if ! make; then'; echo ' exit 1'; echo 'fi'; echo 'make install';