The argument is --handshakefd not --handshake.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/lxc/lxc_controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index 1b43bd2..a2ae599 100644
--- a/src/lxc/lxc_controller.c
+++ b/src/lxc/lxc_controller.c
@@ -2365,7 +2365,7 @@ int main(int argc, char *argv[])
}
if (handshakeFd < 0) {
- fprintf(stderr, "%s: missing --handshake argument for container
PTY\n",
+ fprintf(stderr, "%s: missing --handshakefd argument for container
PTY\n",
argv[0]);
goto cleanup;
}
--
1.8.5.1