summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/mtp-hotplug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/mtp-hotplug.c b/util/mtp-hotplug.c
index 0b4a3f2..10b365d 100644
--- a/util/mtp-hotplug.c
+++ b/util/mtp-hotplug.c
@@ -106,6 +106,10 @@ int main (int argc, char **argv)
mtp_probe_dir[index] = '/';
mtp_probe_dir[index+1] = '\0';
}
+ /* Don't add the standard udev path... */
+ if (!strcmp(mtp_probe_dir, "/lib/udev/")) {
+ mtp_probe_dir[0] = '\0';
+ }
break;
case 'g':
udev_group = strdup(optarg);