@@ -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';