241 |
|
*response=fpgetline(f); |
242 |
|
fseek(f, 0, SEEK_CUR); |
243 |
|
|
244 |
< |
if(*response!=NULL) log_msg(LOG_DEBUG, "Recieved %s", *response); |
244 |
> |
if(*response!=NULL) log_msg(LOG_DEBUG, "Received %s", *response); |
245 |
|
|
246 |
|
if( (*response==NULL) || (strcmp(*response, "ERROR")==0) ) return -1; |
247 |
|
|
827 |
|
log_msg(LOG_INFO, "Starting ihost..."); |
828 |
|
|
829 |
|
log_msg(LOG_DEBUG, "Running statgrab_init()"); |
830 |
< |
if(!statgrab_init()){ |
830 |
> |
if(statgrab_init()){ |
831 |
|
log_msg(LOG_CRIT, "statgrab_init failed (%m)"); |
832 |
|
exit(1); |
833 |
|
} |