From: Martin Pitt Date: Tue, 27 Dec 2016 09:57:51 +0000 (+0100) Subject: backup: add sbin to $PATH X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=d3e8637d76cf3ee8591418fae7b9498458b6c58c;p=bin.git backup: add sbin to $PATH It's not in Fedora's cron environment --- diff --git a/backup b/backup index 314fd74..2f820ec 100755 --- a/backup +++ b/backup @@ -2,6 +2,7 @@ set -eu cd $HOME LOG=.cache/duplicity/log +PATH=$PATH:/sbin:/usr/sbin # do backup every day if [ -e "$LOG" ] && [ $(( `date +%s` - `stat -c %Y $LOG` )) -lt 86300 ]; then