diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-10 09:44:58 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:21:20 -0700 |
commit | 38753167e4e49879f97003f075158cc642bf0b0d (patch) | |
tree | 9af0f2d88fd6185bfcd446a51c18082ca9bcab0d /udev.c | |
parent | 3bdef3939d6501b26dac82fdc6f8e74d854a1f14 (diff) |
[PATCH] let udev act as udevstart if argv[1] == "udevstart"
"udev udevstart" will run udev as udevstart. This makes it easier
to run a test in the source tree without the need to create a
symlink.
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |