Commit 003de705 authored by Ryan Jackson's avatar Ryan Jackson

Make sure arguments to write_image() are quoted

parent dc46b6ec
...@@ -309,7 +309,7 @@ handle_loadinfo() ...@@ -309,7 +309,7 @@ handle_loadinfo()
zapsuperblocks /dev/$DISK zapsuperblocks /dev/$DISK
fi fi
write_image $ADDRESS /dev/$DISK $PARTITION $ZFILL $PTYPE $SERVER write_image "$ADDRESS" "/dev/$DISK" "$PARTITION" "$ZFILL" "$PTYPE" "$SERVER"
rc=$? rc=$?
if [ $rc -ne 0 ]; then if [ $rc -ne 0 ]; then
echo "Failed to write image to disk, status $rc" echo "Failed to write image to disk, status $rc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment