mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-14 02:59:05 +00:00
improve error message when execv()ing the shell fails
This commit is contained in:
parent
9ec4493910
commit
beed31bead
@ -1000,7 +1000,7 @@ static void execchild(void *user_data) {
|
||||
run_shell_command(chansess->cmd, ses.maxfd, usershell);
|
||||
|
||||
/* only reached on error */
|
||||
dropbear_exit("Child failed");
|
||||
dropbear_exit("Failed to execv() shell '%.100s'", usershell);
|
||||
}
|
||||
|
||||
/* Set up the general chansession environment, in particular child-exit
|
||||
|
Loading…
Reference in New Issue
Block a user