From eaf92853e921b3dd0af877b68a1fa805351610d4 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Tue, 27 Oct 2020 14:08:45 +0100 Subject: [PATCH] borg script is totally general, without secrets --- borg_backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"