1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

Correction qualité check_process

This commit is contained in:
magikcypress 2017-02-21 04:23:47 +01:00
parent 1722810bc6
commit a6a9fe30e4
2 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
set -u
source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script

View file

@ -1,6 +1,9 @@
#!/bin/bash
# This restore script is adapted to Yunohost >=2.4
# Exit on command errors and treat unset variables as an error
set -eu
# The parameter $1 is the backup directory location dedicated to the app
backup_dir=$1