From 41e2b8ac0cfe4e4b46ffb83c5990f57906e556d1 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 1 Oct 2024 09:45:49 +0200 Subject: [PATCH] Flock minor fixes --- flock/container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flock/container.c b/flock/container.c index 53847093..9e8aaa2d 100644 --- a/flock/container.c +++ b/flock/container.c @@ -445,9 +445,9 @@ container_mainloop(int fd) /* Exec the telnet */ - e = execl("/usr/bin/strace", "strace", "-o", "/xxx", "-ff", "telnetd", "-E", "/bin/bash", NULL); +// e = execl("/usr/bin/strace", "strace", "-o", "/xxx", "-ff", "telnetd", "-E", "/bin/bash", NULL); e = execl("/usr/sbin/telnetd", "telnetd", "-E", "/bin/bash", NULL); - log(L_ERR "failed to execl: %m"); + log(L_ERR "failed to execl telnet: %m"); exit(42); } close(sfd);