Commit 8b52d158 authored by udeved's avatar udeved

util-iso-boot: fix key file removal

parent a287430c
......@@ -58,7 +58,9 @@ prepare_initramfs(){
if [[ -n ${gpgkey} ]]; then
exec 17<&-
fi
[[ -f ${USERCONFDIR}/gpgkey ]] && rm ${USERCONFDIR}/gpgkey
if [[ -f ${USERCONFDIR}/gpgkey ]]; then
rm ${USERCONFDIR}/gpgkey
fi
}
prepare_boot_extras(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment