mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-01 02:40:52 +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);
|
run_shell_command(chansess->cmd, ses.maxfd, usershell);
|
||||||
|
|
||||||
/* only reached on error */
|
/* 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
|
/* Set up the general chansession environment, in particular child-exit
|
||||||
|
Loading…
Reference in New Issue
Block a user