+
+ /* FIXME: Now, this is a terrible hack: in
+ * containers cgroup empty notifications don't
+ * work. Hence we'll not wait for them to run
+ * empty for now, since there is no way to
+ * detect when a service ends with no main PID
+ * known... */
+
+ if (detect_container(NULL) <= 0)
+ wait_for_exit = true;
+