1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-03 13:39:46 +02:00

fix wterm

This commit is contained in:
lxsang 2016-12-13 20:39:37 +01:00
parent ecba0ed96d
commit a27b743c81

View File

@ -179,7 +179,7 @@ void handler(int cl, const char* m, const char* rqp, dictionary rq)
ioctl(0, TIOCSCTTY, 1);
//system("/bin/bash");
system("sudo login");
system("TERM=linux sudo login");
// if Error...
ws_close(cl,1000);
//LOG("%s\n","Terminal exit");