Merge "borg-backup-server: set SHELL for verification script"

This commit is contained in:
Zuul 2021-03-23 22:53:07 +00:00 committed by Gerrit Code Review
commit c164b6f192

View File

@ -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