diff --git a/iso/dgn-install/dgn-install.sh b/iso/dgn-install/dgn-install.sh index 2856d0a..ae7d179 100644 --- a/iso/dgn-install/dgn-install.sh +++ b/iso/dgn-install/dgn-install.sh @@ -56,7 +56,7 @@ mkdir /mnt/boot mount "$bootDevice" /mnt/boot -if [ "x$swapDevice" != "x" ]; then +if [ -n "$swapDevice" ]; then swapon "$swapDevice" fi