summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuilder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
index ca572458..cd1e90c1 100755
--- a/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
+++ b/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
@@ -51,7 +51,7 @@ for host in ${SLX_DNBD3_SERVERS} FAIL; do
--host "$host" \
--image "${SLX_DNBD3_IMAGE}" \
--device "$_dnbd3_dev" \
- ${SLX_DNBD3_RID=+--rid "$SLX_DNBD3_RID"}; then
+ ${SLX_DNBD3_RID:+--rid "$SLX_DNBD3_RID"}; then
break
fi
done