mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
nspawn: fix clobbering of selinux context arg
First bug fixed by gcc 7. Yikes.
This commit is contained in:
parent
70954c50e7
commit
9ce6d1b319
@ -676,9 +676,8 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
r = free_and_strdup(&arg_machine, optarg);
|
r = free_and_strdup(&arg_machine, optarg);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 'Z':
|
case 'Z':
|
||||||
arg_selinux_context = optarg;
|
arg_selinux_context = optarg;
|
||||||
|
Loading…
Reference in New Issue
Block a user