diff options
| author | Tails developers <amnesia@boum.org> | 2012-07-12 17:22:40 -0600 | 
|---|---|---|
| committer | Tails developers <amnesia@boum.org> | 2012-07-21 01:03:09 +0200 | 
| commit | ee04164312a51ba075ff169140a8969b7ee66512 (patch) | |
| tree | 2ba3512c22d044cf0658d78eb57891f824219af0 | |
| parent | 7167a10dbac0c76b3ae0fd70b8188e57293429f3 (diff) | |
| download | live-boot-ee04164312a51ba075ff169140a8969b7ee66512.tar.gz live-boot-ee04164312a51ba075ff169140a8969b7ee66512.zip | |
Fixing persistence backward-compatibility mode (Closes: #681176).
| -rwxr-xr-x | scripts/boot/9990-misc-helpers.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh index cc39fcb..117876f 100755 --- a/scripts/boot/9990-misc-helpers.sh +++ b/scripts/boot/9990-misc-helpers.sh @@ -1304,7 +1304,7 @@ get_custom_mounts ()  			local source="${dir}"  			if [ -n "${opt_source}" ]  			then -				if echo ${opt_source} | grep -q -e "^/" -e "^\(.*/\)\?\.\.\?\(/.*\)\?$" && [ "${source}" != "." ] +				if echo ${opt_source} | grep -q -e "^/" -e "^\(.*/\)\?\.\.\?\(/.*\)\?$" && [ "${opt_source}" != "." ]  				then  					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 | 
