diff --git a/borg_backup.sh b/borg_backup.sh index 0581ec5..e4635d8 100755 --- a/borg_backup.sh +++ b/borg_backup.sh @@ -34,11 +34,12 @@ if [ "$1" = '-h' ]; then fi if [ ! "$UID" -eq 0 ]; then - echo "You have to run this as root" && exit 1 + echo "You have to run this as root!" && exit 1 fi [ "$1" = '-f' ] || stat_cache_file +# shellcheck source=./secrets source /home/*/SetupCockpit/secrets touch "$cache_file"