mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
--system instead of --hooks
This commit is contained in:
parent
ed69dfb7d6
commit
39f2e6f551
1 changed files with 1 additions and 1 deletions
|
@ -991,7 +991,7 @@ CHECK_BACKUP_RESTORE () {
|
||||||
ECHO_FORMAT "\nBackup of the application...\n" "white" "bold" clog
|
ECHO_FORMAT "\nBackup of the application...\n" "white" "bold" clog
|
||||||
|
|
||||||
# Made a backup of the application
|
# 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 gets the return code of the backup
|
||||||
yunohost_result=$?
|
yunohost_result=$?
|
||||||
|
|
Loading…
Add table
Reference in a new issue