From ca90901e0c0c207dbbf1eb0a2170f26ee8de75e1 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 10 Jan 2024 17:50:28 +0100 Subject: [PATCH] feat(iso/dgn-install.sh): Use a better test --- iso/dgn-install/dgn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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