1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 09:48:08 +00:00

when launching the sshd service, make sure the /sdcard/ssh path exists,

otherwise we won't be able to access dropbear.err
This commit is contained in:
Greg Alexander 2016-10-17 09:35:31 -04:00
parent f652b1b3c6
commit 9c7454d222

View File

@ -118,6 +118,7 @@ public class SimpleSSHDService extends Service {
private static void do_start() {
stop_sshd();
new File(Prefs.get_path()).mkdirs();
final int pid = start_sshd(Prefs.get_port(),
Prefs.get_path(), Prefs.get_shell(),
Prefs.get_home(), Prefs.get_extra(),