mirror of
https://github.com/lxsang/ant-http
synced 2024-12-27 01:08:21 +01:00
fix wterm
This commit is contained in:
parent
ecba0ed96d
commit
a27b743c81
@ -179,7 +179,7 @@ void handler(int cl, const char* m, const char* rqp, dictionary rq)
|
|||||||
ioctl(0, TIOCSCTTY, 1);
|
ioctl(0, TIOCSCTTY, 1);
|
||||||
|
|
||||||
//system("/bin/bash");
|
//system("/bin/bash");
|
||||||
system("sudo login");
|
system("TERM=linux sudo login");
|
||||||
// if Error...
|
// if Error...
|
||||||
ws_close(cl,1000);
|
ws_close(cl,1000);
|
||||||
//LOG("%s\n","Terminal exit");
|
//LOG("%s\n","Terminal exit");
|
||||||
|
Loading…
Reference in New Issue
Block a user