summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild-initramfs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index 767a683a..2a91b484 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -329,12 +329,14 @@ parse_command_line() {
if [ "$qcow_handler" = "xmount" ]; then
unset module_xloop
+ echo "Error: xmount support has been removed."
+ return 1
elif [ "$qcow_handler" = "xloop" ]; then
unset module_xmount
else
echo \
"Error with given option '--qcow-handler/-q':" \
- "This options needs to be either 'xmount' or 'xloop', given: '$qcow_handler'."
+ "This option needs to be 'xloop', given: '$qcow_handler'."
return 1
fi