summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-09-02 23:08:26 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-09-02 23:08:26 +0800
commitd4b138a5ea9acda3a4839f89d0fa892f20a4c17a (patch)
tree332c0be68740ddd6270bb8044d359df51c76f50a /utils
parent754a03f3c71527cbf8f707344b44e80f84048943 (diff)
downloadpetitboot-d4b138a5ea9acda3a4839f89d0fa892f20a4c17a.zip
petitboot-d4b138a5ea9acda3a4839f89d0fa892f20a4c17a.tar.gz
pb-console: Always add plugins directory to PATH
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/pb-console3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/pb-console b/utils/pb-console
index 5f8ffa6..c6def47 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -107,8 +107,9 @@ esac
# we may have been run from udev - ensure we have a sensible PATH
if [ -z "$PATH" ]
then
- PATH=/var/lib/pb-plugins/bin:/usr/bin:/usr/sbin:/bin:/sbin
+ PATH=/usr/bin:/usr/sbin:/bin:/sbin
fi
+PATH=/var/lib/pb-plugins/bin:$PATH
export PATH
verbose_opt=
OpenPOWER on IntegriCloud