summaryrefslogtreecommitdiff
path: root/src/shared/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-26 12:16:18 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-26 12:21:43 +0200
commitaf6da548aa14c57da7f17b3a1f2211efdb811d19 (patch)
treee118258cb9795ee0b80b656c9aca121cf7bc8b3e /src/shared/def.h
parent0c7f15b3a95c3596a4756de5c44eb1fdcd0034fc (diff)
downloadsystemd-af6da548aa14c57da7f17b3a1f2211efdb811d19.tar.gz
core: make systemd.confirm_spawn=1 actually work
This adds a timeout if the TTY cannot be acquired and makes sure we always output the question to the console, never to the TTY of the respective service.
Diffstat (limited to 'src/shared/def.h')
-rw-r--r--src/shared/def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/def.h b/src/shared/def.h
index be969fca2e..d021e66021 100644
--- a/src/shared/def.h
+++ b/src/shared/def.h
@@ -26,6 +26,7 @@
#define DEFAULT_TIMEOUT_USEC (90*USEC_PER_SEC)
#define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC)
+#define DEFAULT_CONFIRM_USEC (30*USEC_PER_SEC)
#define DEFAULT_EXIT_USEC (5*USEC_PER_MINUTE)