Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbe362c65d |
@@ -474,7 +474,7 @@ void trt_connexion()
|
||||
keepAlive = FALSE;
|
||||
//
|
||||
//strcpy(data, "HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nContent-Type:text/html\r\nContent-Length:35\r\n\r\n<html><h2>Hello World !</h2></html>");
|
||||
if((fp = popen("create_ttyd_session.sh", "r")) == NULL)
|
||||
if((fp = popen("/root/create_ttyd_session.sh", "r")) == NULL)
|
||||
strcpy(data, "HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nContent-Type:text/html\r\nContent-Length:97\r\n\r\n<html><h2>Erreur, console de test non disponible, veuillez contacter l'administrateur</h2></html>");
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user