mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-03 19:50:55 +00:00
tell dropbear not to fork into the background, because we've already
forked before calling it...
This commit is contained in:
parent
f0347f7477
commit
5902ab0952
@ -98,6 +98,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
|
||||
}
|
||||
|
||||
argv[argc++] = "-R"; /* enable DROPBEAR_DELAY_HOSTKEY */
|
||||
argv[argc++] = "-F"; /* don't redundant fork to background */
|
||||
if (port) {
|
||||
argv[argc++] = "-p";
|
||||
argv[argc] = malloc(20);
|
||||
|
Loading…
Reference in New Issue
Block a user