From d3e8637d76cf3ee8591418fae7b9498458b6c58c Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 27 Dec 2016 10:57:51 +0100 Subject: [PATCH] backup: add sbin to $PATH It's not in Fedora's cron environment --- backup | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5