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.
<listitem><para>Automatically search
for an init binary and invoke it
instead of a shell or a user supplied
- program. A command to execute cannot
- be specified in this case.
- </para></listitem>
+ program.</para></listitem>
</varlistentry>
<varlistentry>
}
}
- if (optind < argc && arg_boot) {
- log_error("Cannot specify a command together with '-b'");
- return -EINVAL;
- }
-
return 1;
}