mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-05 11:46:43 +07:00
ask-password: use default timeout
This commit is contained in:
parent
4fe60156fc
commit
7f434cf4c9
@ -128,7 +128,8 @@
|
||||
<term><option>--timeout=</option></term>
|
||||
|
||||
<listitem><para>Specify the query
|
||||
timeout in seconds.</para></listitem>
|
||||
timeout in seconds. Defaults to
|
||||
3min.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user