From da45b9f5de5f5b437261bd10401c33f9cae0696b Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Thu, 21 May 2020 14:42:14 -0400 Subject: [PATCH] add trusted paths that often fail if run via cron --- rpi-clone | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpi-clone b/rpi-clone index 98f3c94..b6baf53 100755 --- a/rpi-clone +++ b/rpi-clone @@ -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