From 9c05caae9002905015b10088784316a917f69e10 Mon Sep 17 00:00:00 2001 From: Yorick Date: Wed, 12 Oct 2016 22:51:21 +0200 Subject: [PATCH] Fix syslinux detection error --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 4df77eb..3610192 100755 --- a/init.sh +++ b/init.sh @@ -50,7 +50,7 @@ create_dir(){ } #Stop script if syslinux is not installed -if [ ! -f $SYSLINUX_EXE ] +if [[ $SYSLINUX_EXE == "" ]] then echo "Syslinux not found, script can't continue…" exit 1