Fix syslinux detection error

This commit is contained in:
Yorick Barbanneau 2016-10-12 22:51:21 +02:00
parent 365658cfa4
commit 9c05caae90

View file

@ -50,7 +50,7 @@ create_dir(){
} }
#Stop script if syslinux is not installed #Stop script if syslinux is not installed
if [ ! -f $SYSLINUX_EXE ] if [[ $SYSLINUX_EXE == "" ]]
then then
echo "Syslinux not found, script can't continue…" echo "Syslinux not found, script can't continue…"
exit 1 exit 1