forked from DGNum/infrastructure
feat(iso/dgn-install.sh): Use a better test
This commit is contained in:
parent
ace755b6b5
commit
ca90901e0c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue