diff options
author | maximilian attems <maks@debian.org> | 2010-06-13 20:46:37 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-06-13 20:46:37 +0200 |
commit | cc6077aa62a510e6ce3d72c8a195bb33d141f904 (patch) | |
tree | b92bf2f70865ca3f4a72147d03d7660162f76391 | |
parent | a8a5ce4030983af37715f2581099d453473fd0ea (diff) | |
download | initramfs-tools-cc6077aa62a510e6ce3d72c8a195bb33d141f904.tar.gz initramfs-tools-cc6077aa62a510e6ce3d72c8a195bb33d141f904.zip |
update-initramfs: Fix another unbound variable
still uncovering things..
Closes: #583695
Signed-off-by: maximilian attems <maks@debian.org>
-rwxr-xr-x | update-initramfs | 2 |
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}" } |