00-crypt.sh: do not remove ancestors of /mnt/key, that's just silly

master
Fabio Erculiani 11 years ago
parent d600083137
commit 2d19fc6fc8

@ -256,7 +256,7 @@ _open_luks() {
done done
umount -l "${mntkey}" 2>/dev/null >/dev/null 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} return ${exit_st}
} }

Loading…
Cancel
Save