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:
parent
266247f282
commit
ecd4b69529
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue