diff options
author | Keuin <[email protected]> | 2021-12-28 05:56:54 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-12-28 05:56:54 +0800 |
commit | 0a6f3b2c456e54b9bcf0aceb7151d6c989f9d93b (patch) | |
tree | 6877997d6d9d82ffa56502bd4cb894c1710bc730 | |
parent | ce4d969bcb82e0831dabc7f555083084f96da6f5 (diff) |
Bugfix: wrong logging statement.
-rw-r--r-- | netmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |