Merge "borg-backup-server: set SHELL for verification script"
This commit is contained in:
commit
c164b6f192
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# When under cron, SHELL can bin /bin/sh which the "sudo -s" below
|
||||||
|
# obeys. Let's just use bash.
|
||||||
|
export SHELL=/bin/bash
|
||||||
|
|
||||||
pushd /opt/backups
|
pushd /opt/backups
|
||||||
|
|
||||||
for u in borg-*; do
|
for u in borg-*; do
|
||||||
|
Loading…
Reference in New Issue
Block a user