aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check/check_hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check/check_hotplug')
-rw-r--r--tools/check/check_hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check/check_hotplug b/tools/check/check_hotplug
index df8a328096..61feb4c6a6 100644
--- a/tools/check/check_hotplug
+++ b/tools/check/check_hotplug
@@ -7,7 +7,7 @@ function error {
exit 1
}
-if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `udev -V` -ge 059 ]; then
+if [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then
exit 0
fi