summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-03-22 14:20:32 +0100
committerDaniel Baumann <daniel@debian.org>2012-04-05 07:50:15 +0200
commit8b3ccc55856039a150b0d06c4dce24c50020a8fd (patch)
tree8b8a0fd6f6bc00ed08d3a494e54601b0114981e3 /scripts
parent22216d157f7dacf5cdaabc45a7a7a42bfcfe49d1 (diff)
downloadlive-boot-8b3ccc55856039a150b0d06c4dce24c50020a8fd.tar.gz
live-boot-8b3ccc55856039a150b0d06c4dce24c50020a8fd.zip
Improve error message.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 52f812c..db6d25c 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1317,7 +1317,7 @@ get_custom_mounts ()
then
if echo ${opt_source} | grep -q -e "^/" -e "^\(.*/\)\?\.\.\?\(/.*\)\?$" && [ "${source}" != "." ]
then
- log_warning_msg "Skipping unsafe custom mount with option source=${opt_source}: must be either \".\" (the media root) a relative path w.r.t. the media root that doesn't contain comas or the special dirs \".\" and \"..\""
+ log_warning_msg "Skipping unsafe custom mount with option source=${opt_source}: must be either \".\" (the media root) or a relative path w.r.t. the media root that contains neither comas, nor the special \".\" and \"..\" path components"
continue
else
source="${opt_source}"