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 2019-10-18 10:50:39 -06:00
parent fbf5a94e0a
commit 11ad68647a
1 changed files with 1 additions and 0 deletions

View File

@ -494,6 +494,7 @@ on_dir_changed (GFileMonitor *mon,
if (event == G_FILE_MONITOR_EVENT_DELETED) if (event == G_FILE_MONITOR_EVENT_DELETED)
{ {
httpd_log (self, "root directory removed, exiting\n");
self->running = FALSE; self->running = FALSE;
g_main_context_wakeup (NULL); g_main_context_wakeup (NULL);
} }