1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00

Use TRAP in backup and restore

This commit is contained in:
polytan02 2016-12-22 13:20:20 +00:00
parent 74034f5513
commit 8e0d948290
2 changed files with 6 additions and 0 deletions

View file

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

View file

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