From a0ae611a865ecd968c6ff7451e5cad6d71e13ffc Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Wed, 1 Dec 2010 21:10:28 +0000 Subject: [PATCH] fix possible syntax error in failure path Signed-off-by: Thorsten Glaser --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-live b/grml-live index 151e464..692fffb 100755 --- a/grml-live +++ b/grml-live @@ -1093,7 +1093,7 @@ else sed -n '/^.*\[ *\([0-9]*\)[] ].* ISOLINUX.BIN;1 *$/s//\1/p') if ! [ -r boot/grub/core.img ] ; then ewarn "boot/grub/core.img not found, not creating manifold boot ISO file" - elif [ $bootoff -lt 1 ] ; then + elif [ "${bootoff:-0}" -lt 1 ] ; then ewarn "isolinux.bin not found on the ISO file, disabling manifold boot" else log "Creating hybrid ISO file with manifold method" -- 2.1.4