# | Line 844 | Line 844 | int main(int argc, char **argv){ | |
---|---|---|
844 | } | |
845 | ||
846 | log_msg(LOG_INFO, "Starting ihost..."); | |
847 | + | |
848 | + | log_msg(LOG_DEBUG, "Running statgrab_init()"); |
849 | + | if(!statgrab_init()){ |
850 | + | log_msg(LOG_CRIT, "statgrab_init failed (%m)"); |
851 | + | exit(1); |
852 | + | } |
853 | ||
854 | log_msg(LOG_DEBUG,"Writing PID FILE"); | |
855 | ||
# | Line 859 | Line 865 | int main(int argc, char **argv){ | |
865 | log_msg(LOG_CRIT, "failed to close PID file"); | |
866 | } | |
867 | } | |
868 | + | |
869 | ||
870 | /* Get the initial config from the filter manager. Should this fail, | |
871 | * wait, and then try again. */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |