summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netmon.c b/netmon.c
index 28f43fe..fb8bf66 100644
--- a/netmon.c
+++ b/netmon.c
@@ -230,7 +230,7 @@ int main(int argc, char *argv[]) {
loop();
log_info(logger, "netmon is stopped.");
if (require_reboot) {
- log_init("Trigger system reboot.");
+ log_info(logger, "Trigger system reboot.");
system("reboot");
}
log_free(logger);