1
0
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:
Greg Alexander 2014-12-16 18:49:00 -05:00
parent f0347f7477
commit 5902ab0952

View File

@ -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);