refactor(mainsail): add missing return

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus
2023-02-26 11:12:15 +01:00
parent eee9edc5f8
commit d9dd6370e5

View File

@@ -119,6 +119,7 @@ function download_mainsail_macros() {
warn_msg "The file will be renamed to 'mainsail.bak.cfg' to be able to continue with the installation."
if ! mv "${path}/mainsail.cfg" "${path}/mainsail.bak.cfg"; then
error_msg "Renaming mainsail.cfg failed! Aborting installation ..."
return
fi
fi