--system instead of --hooks

This commit is contained in:
Maniack Crudelis 2017-07-18 21:11:21 +02:00
parent ed69dfb7d6
commit 39f2e6f551

View file

@ -991,7 +991,7 @@ CHECK_BACKUP_RESTORE () {
ECHO_FORMAT "\nBackup of the application...\n" "white" "bold" clog
# Made a backup of the application
LXC_START "sudo yunohost --debug backup create -n Backup_test --apps $ynh_app_id --hooks $backup_hooks"
LXC_START "sudo yunohost --debug backup create -n Backup_test --apps $ynh_app_id --system $backup_hooks"
# yunohost_result gets the return code of the backup
yunohost_result=$?