mirror of
https://github.com/Ravinou/borgwarehouse
synced 2026-03-14 14:25:46 +01:00
Merge pull request #13 from p-rintz/patch-1
Re-introduce sudo for read-only scripts
This commit is contained in:
commit
f84efd3165
2 changed files with 2 additions and 2 deletions
|
|
@ -22,4 +22,4 @@
|
|||
# Exit when any command fails
|
||||
set -e
|
||||
|
||||
stat -c {\"user\":\"%U\",\"lastSave\":%Y\} /var/borgwarehouse/*/repos/*/integrity* | jq -s
|
||||
sudo stat -c {\"user\":\"%U\",\"lastSave\":%Y\} /var/borgwarehouse/*/repos/*/integrity* | jq -s
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ set -e
|
|||
|
||||
# Use jc to output a JSON format with du command
|
||||
cd /var/borgwarehouse
|
||||
jc du -s *
|
||||
sudo jc du -s *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue