summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/pb-console7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/pb-console b/utils/pb-console
index 64bf77f..36b9c03 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -104,6 +104,13 @@ case "$(tty)" in
;;
esac
+# we may have been run from udev - ensure we have a sensible PATH
+if [ -z "$PATH" ]
+then
+ PATH=/usr/bin:/usr/sbin:/bin:/sbin
+fi
+export PATH
+
verbose_opt=
if $pb_config debug | grep -q enabled
then
OpenPOWER on IntegriCloud