feat(iso/dgn-install.sh): Use a better test

This commit is contained in:
Tom Hubrecht 2024-01-10 17:50:28 +01:00
parent ace755b6b5
commit ca90901e0c

View file

@ -56,7 +56,7 @@ mkdir /mnt/boot
mount "$bootDevice" /mnt/boot mount "$bootDevice" /mnt/boot
if [ "x$swapDevice" != "x" ]; then if [ -n "$swapDevice" ]; then
swapon "$swapDevice" swapon "$swapDevice"
fi fi