From 30d6c09c1bc7d598d03f4b44762576844d16bde9 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 4 Jun 2019 15:33:13 +0800 Subject: [PATCH] fix #1 --- menhera.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/menhera.sh b/menhera.sh index da3ae46..52d7ad5 100755 --- a/menhera.sh +++ b/menhera.sh @@ -9,6 +9,9 @@ ROOTFS="" OLDROOT="/" NEWROOT="" +# fix possible PATH problems +export PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + # environment compatibility __compat_restart_ssh() { if [ -x "$(command -v systemctl)" ]; then