summaryrefslogtreecommitdiff
path: root/src/cryptsetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptsetup.c')
-rw-r--r--src/cryptsetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index f543a0505..c80572aed 100644
--- a/src/cryptsetup.c
+++ b/src/cryptsetup.c
@@ -386,6 +386,7 @@ int main(int argc, char *argv[]) {
if (try >= opt_tries) {
log_error("Too many attempts.");
r = EXIT_FAILURE;
+ goto finish;
}
} else if (streq(argv[1], "detach")) {