1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

upgrade: fix syntax error in the die_command variable

This commit is contained in:
Pierre de La Morinerie 2017-09-12 15:30:10 +05:30
parent 8272eadca0
commit ff4f8ba8fd

View file

@ -22,7 +22,7 @@ function cleanup_and_restart
sudo supervisorctl start mattermost sudo supervisorctl start mattermost
# Exit (without triggering a package_linter warning) # Exit (without triggering a package_linter warning)
die_command = 'ynh_' + 'die' die_command='ynh_' + 'die'
$die_command "An error occurred during the installation." $die_command "An error occurred during the installation."
} }
trap cleanup_and_restart ERR trap cleanup_and_restart ERR