From cc6077aa62a510e6ce3d72c8a195bb33d141f904 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sun, 13 Jun 2010 20:46:37 +0200 Subject: update-initramfs: Fix another unbound variable still uncovering things.. Closes: #583695 Signed-off-by: maximilian attems --- update-initramfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update-initramfs') 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}" } -- cgit v1.2.3