From ff62924d9e224a239c88a6b1cc3d0197a9351450 Mon Sep 17 00:00:00 2001 From: Tom Lebreux Date: Thu, 9 Nov 2023 13:24:40 -0500 Subject: [PATCH] Pass encrypted device to cryptprompt --- nlplug-findfs/nlplug-findfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlplug-findfs/nlplug-findfs.c b/nlplug-findfs/nlplug-findfs.c index 153ed20..3586e83 100644 --- a/nlplug-findfs/nlplug-findfs.c +++ b/nlplug-findfs/nlplug-findfs.c @@ -626,7 +626,7 @@ static void *cryptsetup_thread(void *data) close(fd[0]); dup2(fd[1], 3); close(fd[1]); - execlp(c->crypt.data.prompt, c->crypt.data.prompt, NULL); + execlp(c->crypt.data.prompt, c->crypt.data.prompt, c->crypt.data.devnode, NULL); warn("executing prompt %s", c->crypt.data.prompt); } -- 2.45.2