diff options
-rw-r--r-- | utils/pb-console | 7 |
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 |