Skip to content

Commit da45b9f

Browse files
committed
add trusted paths that often fail if run via cron
1 parent 3c5d373 commit da45b9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rpi-clone

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
version=2.0.22
1212

13+
# setup trusted paths for dependancies (like rsync, grub, fdisk, etc)
14+
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
15+
1316
# auto run grub-install if grub detected
1417
grub_auto=1
1518

0 commit comments

Comments
 (0)