mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
udevd: add missing ':' to getopt_long 'e'
Parameter -e is set without additional argument in getopt and this leads to segfault when calling 'systemd-udevd -e'.
This commit is contained in:
parent
373d8fccc1
commit
5bbbe461fd
@ -1097,7 +1097,7 @@ int main(int argc, char *argv[])
|
||||
for (;;) {
|
||||
int option;
|
||||
|
||||
option = getopt_long(argc, argv, "c:deDtN:hV", options, NULL);
|
||||
option = getopt_long(argc, argv, "c:de:DtN:hV", options, NULL);
|
||||
if (option == -1)
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user