Skip to content

Commit

Permalink
add trusted paths that often fail if run via cron
Browse files Browse the repository at this point in the history
  • Loading branch information
bdwilson committed May 21, 2020
1 parent 3c5d373 commit da45b9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpi-clone
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

version=2.0.22

# setup trusted paths for dependancies (like rsync, grub, fdisk, etc)
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# auto run grub-install if grub detected
grub_auto=1

Expand Down

0 comments on commit da45b9f

Please sign in to comment.