ostree/trivial-httpd: Add log message for autoexit

This is useful when checking if the daemon actually exited since we
don't store the child PID anywhere.
This commit is contained in:
Dan Nicholson committed 2020-01-24 13:11:54 -07:00
1 parent fbf5a94e0a
commit 11ad68647a
1 file changed
+1
+1
View File
@@ -494,6 +494,7 @@ on_dir_changed (GFileMonitor *mon,
if (event == G_FILE_MONITOR_EVENT_DELETED)
{
httpd_log (self, "root directory removed, exiting\n");
self->running = FALSE;
g_main_context_wakeup (NULL);
}