summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-02-25 18:33:08 +0100
committerMichal Schmidt <mschmidt@redhat.com>2013-02-25 18:39:16 +0100
commit1ddf879acf388a4625150c3a97b76458f6d2a070 (patch)
tree33f3141af1b5b3fd6a70d6fdd4a813d94572b4b4 /src/nspawn
parent317c96d944e01e6e87200dd7ebe964fe9774d2c4 (diff)
Revert "nspawn: catch config mistake of specifying -b and args"
This reverts commit cb96a2c69a312fb089fef4501650f4fc40a1420b. It is not a mistake to pass args when -b is specified. They will simply be passed on to the container's init. The manpage needs fixing, that's true.
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index c346f58412..b8962e9894 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -267,11 +267,6 @@ static int parse_argv(int argc, char *argv[]) {
}
}
- if (optind < argc && arg_boot) {
- log_error("Cannot specify a command together with '-b'");
- return -EINVAL;
- }
-
return 1;
}