borg script is totally general, without secrets
This commit is contained in:
parent
2be447b3c0
commit
eaf92853e9
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue