summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-14 02:36:02 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:03:34 +0200
commit9072492933eaacbcd8daed3f9baf90583dd22574 (patch)
tree9379d0cafb4625cc9214c504f38d269e642ee765 /src/cryptsetup.c
parentlogger,initctl: use global exit timeout (diff)
downloadsystemd-9072492933eaacbcd8daed3f9baf90583dd22574.tar.xz
systemd-9072492933eaacbcd8daed3f9baf90583dd22574.zip
crypto: let the cryptsetup binary handles its own configurable timeouts
Diffstat (limited to '')
-rw-r--r--src/cryptsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index f52a41b995..4ef9606d39 100644
--- a/src/cryptsetup.c
+++ b/src/cryptsetup.c
@@ -40,7 +40,7 @@ static char *opt_hash = NULL;
static unsigned opt_tries = 0;
static bool opt_readonly = false;
static bool opt_verify = false;
-static usec_t opt_timeout = 0;
+static usec_t opt_timeout = DEFAULT_TIMEOUT_USEC;
/* Options Debian's crypttab knows we don't: