From 2d19fc6fc83badcbbceb8ce0f72e28702107a4c1 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 20 Oct 2013 11:15:25 +0200 Subject: [PATCH] 00-crypt.sh: do not remove ancestors of /mnt/key, that's just silly --- defaults/initrd.d/00-crypt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/initrd.d/00-crypt.sh b/defaults/initrd.d/00-crypt.sh index fd54da5..4a54cee 100755 --- a/defaults/initrd.d/00-crypt.sh +++ b/defaults/initrd.d/00-crypt.sh @@ -256,7 +256,7 @@ _open_luks() { done umount -l "${mntkey}" 2>/dev/null >/dev/null - rmdir -p "${mntkey}" 2>/dev/null >/dev/null + rmdir "${mntkey}" 2>/dev/null >/dev/null return ${exit_st} }