mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
run: the --background= switch expects an argument
We got this right when running as "uid0", but wrong when invoked under "systemd-run". Let's fix that.
This commit is contained in:
parent
3cdfd6acf1
commit
87da1af78f
@ -297,7 +297,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
{ "same-dir", no_argument, NULL, 'd' },
|
||||
{ "shell", no_argument, NULL, 'S' },
|
||||
{ "ignore-failure", no_argument, NULL, ARG_IGNORE_FAILURE },
|
||||
{ "background", no_argument, NULL, ARG_BACKGROUND },
|
||||
{ "background", required_argument, NULL, ARG_BACKGROUND },
|
||||
{},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user