~tomleb/alpine-mkinitfs

ff62924d9e224a239c88a6b1cc3d0197a9351450 — Tom Lebreux 10 months ago c44a249
Pass encrypted device to cryptprompt
1 files changed, 1 insertions(+), 1 deletions(-)

M nlplug-findfs/nlplug-findfs.c
M nlplug-findfs/nlplug-findfs.c => nlplug-findfs/nlplug-findfs.c +1 -1
@@ 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);
		}