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:
parent
fbf5a94e0a
commit
11ad68647a
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue