1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add debug message

This commit is contained in:
Stefan Lankes 2017-02-18 22:12:01 +01:00
parent 266247f282
commit ecd4b69529

View file

@ -223,6 +223,8 @@ static int is_hermit_available(void)
if (!file)
return 0;
PROXY_DEBUG("Open log file\n");
while(getline(&line, &n, file) > 0) {
if (strstr(line, "TCP server is listening.") != NULL) {
ret = 1;