summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-12 00:39:17 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-12 00:40:27 +0100
commit7f4e08056de0184b205a20632e62db73d299937e (patch)
tree09633a6d941c08d6c17797425f3b592742fe7c4e /src/manager.c
parent5a1e99375d03bc88795d68c66bf3933dd04c1015 (diff)
cryptsetup: hook up tool with ask-password
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index d2dc8b9ef8..9640fca600 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -2842,6 +2842,8 @@ void manager_run_generators(Manager *m) {
_exit(EXIT_FAILURE);
}
+ log_debug("Spawned generator %s as %lu", path, (unsigned long) pid);
+
if ((k = hashmap_put(pids, UINT_TO_PTR(pid), path)) < 0) {
log_error("Failed to add PID to set: %s", strerror(-k));
free(path);
@@ -2868,7 +2870,8 @@ void manager_run_generators(Manager *m) {
log_error("%s exited with exit status %i.", path, si.si_status);
else
log_error("%s terminated by signal %s.", path, signal_to_string(si.si_status));
- }
+ } else
+ log_debug("Generator %s exited successfully.", path);
free(path);
}
@@ -2894,6 +2897,8 @@ void manager_run_generators(Manager *m) {
strv_free(m->lookup_paths.unit_path);
m->lookup_paths.unit_path = l;
+
+ log_debug("Added generator unit path %s to search path.", m->generator_unit_path);
}
finish: