diff --git a/scripts/backup b/scripts/backup index 44c3f05..9afcdf5 100755 --- a/scripts/backup +++ b/scripts/backup @@ -3,6 +3,9 @@ # Exit on command errors and treat unset variables as an error set -eu +# Active trap pour arrêter le script si une erreur est détectée. +TRAP_ON + # See comments in install script app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/restore b/scripts/restore index 311a5f7..d1e12cf 100755 --- a/scripts/restore +++ b/scripts/restore @@ -6,6 +6,9 @@ # Exit on command errors and treat unset variables as an error set -eu +# Active trap pour arrêter le script si une erreur est détectée. +TRAP_ON + # See comments in install script app=$YNH_APP_INSTANCE_NAME