]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: fix infinite timeout (#6486)
authorAndrew Soutar <andrew@andrewsoutar.com>
Mon, 31 Jul 2017 06:19:16 +0000 (02:19 -0400)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Mon, 31 Jul 2017 06:19:16 +0000 (08:19 +0200)
commit0864d311766498563331f486909a0d950ba7de87
treeb5542aecf5c15a891c73c1fe0917dc955bc434e7
parent0742986650b36b604613f9aaa1f6bd45b51c0e67
cryptsetup: fix infinite timeout (#6486)

0004f698d causes `arg_timeout` to be infinity instead of 0 when timeout=0. The
logic here now matches this change.

Fixes #6381
src/cryptsetup/cryptsetup.c