mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
ask-password: minor shortening
This commit is contained in:
parent
741f6ae39b
commit
6a4607a3c8
@ -234,10 +234,7 @@ static int run(int argc, char *argv[]) {
|
||||
if (r <= 0)
|
||||
return r;
|
||||
|
||||
if (arg_timeout > 0)
|
||||
timeout = usec_add(now(CLOCK_MONOTONIC), arg_timeout);
|
||||
else
|
||||
timeout = 0;
|
||||
timeout = arg_timeout > 0 ? usec_add(now(CLOCK_MONOTONIC), arg_timeout) : 0;
|
||||
|
||||
AskPasswordRequest req = {
|
||||
.message = arg_message,
|
||||
|
Loading…
x
Reference in New Issue
Block a user