1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/netdata_ynh.git synced 2024-09-03 19:46:33 +02:00

Minor linter fixes

This commit is contained in:
Jimmy Monin 2017-12-03 18:01:04 +01:00
parent cecf1eea8c
commit 4d028871c2
3 changed files with 6 additions and 6 deletions

View file

@ -6,8 +6,8 @@
# MANAGE SCRIPT FAILURE
#=================================================
# Exit on command errors and treat access to unset variables as an error
set -eu
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# IMPORT GENERIC HELPERS

View file

@ -6,8 +6,8 @@
# MANAGE SCRIPT FAILURE
#=================================================
# Exit on command errors and treat access to unset variables as an error
set -eu
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# IMPORT GENERIC HELPERS

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
#=================================================
# GENERIC START
@ -28,7 +28,7 @@ ynh_backup_before_upgrade # Backup the current version of the app
ynh_clean_setup () {
ynh_restore_upgradebackup # restore it if the upgrade fails
}
ynh_abort_if_errors # Active trap pour arrêter le script si une erreur est détectée.
ynh_abort_if_errors # Active trap to stop script execution if an error occurs
#=================================================
# CHECK THE PATH