summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index d8cb4365fd..b54896669b 100644
--- a/udev.c
+++ b/udev.c
@@ -91,7 +91,7 @@ int main(int argc, char *argv[], char *envp[])
udev_init_config();
- if (strstr(argv[0], "udevstart")) {
+ if (strstr(argv[0], "udevstart") || (argv[1] != NULL && strstr(argv[1], "udevstart"))) {
act_type = UDEVSTART;
} else {
const char *action = get_action();