diff --git a/scripts/restore b/scripts/restore index 68dbbff..ab3b3f1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -3,6 +3,15 @@ #================================================= # GENERIC START #================================================= + +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= + +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + +#================================================ # IMPORT GENERIC HELPERS #================================================= @@ -14,12 +23,6 @@ fi source _common.sh source /usr/share/yunohost/helpers -#================================================= -# MANAGE SCRIPT FAILURE -#================================================= - -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors #================================================= # LOAD SETTINGS