summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-initramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs
index e49115b..f8408e6 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -146,7 +146,7 @@ backup_booted_initramfs()
# nuke generated copy
remove_initramfs_bak()
{
- [ -z "${initramfs_bak}" ] && return 0
+ [ -z "${initramfs_bak:-}" ] && return 0
rm -f "${initramfs_bak}"
verbose "Removing ${initramfs_bak}"
}