X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fask-password.c;h=5162f62eeec95cd52f8b60c93fbab200d3c39ad1;hp=6330369b4f20e4cddaef0ce375b6a1a097fbf4de;hb=2bd3c38a44c5c3acbf5afdb9c0bcbaf4a72dac3f;hpb=7dcda352a609d063098e238db09c03cdc25c564b diff --git a/src/ask-password.c b/src/ask-password.c index 6330369b4..5162f62ee 100644 --- a/src/ask-password.c +++ b/src/ask-password.c @@ -40,11 +40,12 @@ #include "util.h" #include "strv.h" #include "ask-password-api.h" +#include "def.h" static const char *arg_icon = NULL; static const char *arg_message = NULL; static bool arg_use_tty = true; -static usec_t arg_timeout = 60 * USEC_PER_SEC; +static usec_t arg_timeout = DEFAULT_TIMEOUT_USEC; static bool arg_accept_cached = false; static bool arg_multiple = false;