mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-08 22:35:10 +07:00
systemctl: make sure getopt doesn't segfault
This commit is contained in:
parent
406eaf930b
commit
b08a35509c
@ -1343,7 +1343,8 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
{ "replace", no_argument, NULL, ARG_REPLACE },
|
||||
{ "session", no_argument, NULL, ARG_SESSION },
|
||||
{ "system", no_argument, NULL, ARG_SYSTEM },
|
||||
{ "block", no_argument, NULL, ARG_BLOCK }
|
||||
{ "block", no_argument, NULL, ARG_BLOCK },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
int c;
|
||||
|
Loading…
Reference in New Issue
Block a user