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