diff options
author | Dan Nicholson <nicholson@endlessm.com> | 2019-10-18 10:50:39 -0600 |
---|---|---|
committer | Dan Nicholson <nicholson@endlessm.com> | 2020-01-24 13:11:54 -0700 |
commit | 11ad68647a539344d81eda92cf5ec24d8c2354b1 (patch) | |
tree | d705a3dc88b9a45ed96373cc28204e98e3dd55b5 | |
parent | fbf5a94e0aa2d55203ac03fa941a28ce9f6ba071 (diff) | |
download | ostree-11ad68647a539344d81eda92cf5ec24d8c2354b1.tar.gz |
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.
-rw-r--r-- | src/ostree/ostree-trivial-httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ostree/ostree-trivial-httpd.c b/src/ostree/ostree-trivial-httpd.c index e5dfc320..a38abbea 100644 --- a/src/ostree/ostree-trivial-httpd.c +++ b/src/ostree/ostree-trivial-httpd.c @@ -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); } |