diff options
| author | Tails developers <amnesia@boum.org> | 2012-02-06 11:22:05 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:00:16 +0200 |
| commit | 916c9458ead4b3a2c227ff625483ac7470805ee6 (patch) | |
| tree | eaf987f9af99fad6bafeceae21183b501a59d28d /scripts | |
| parent | 821aa7e0b3c222912172517ca7f8e179b5ef7a9d (diff) | |
| download | live-boot-916c9458ead4b3a2c227ff625483ac7470805ee6.tar.gz live-boot-916c9458ead4b3a2c227ff625483ac7470805ee6.zip | |
Prevent custom mounting in /live.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live index 821103a..d9a8972 100755 --- a/scripts/live +++ b/scripts/live @@ -1636,9 +1636,10 @@ setup_unionfs () then dest="${source}" fi - if echo ${dest} | grep -qe "^/\+$" + if echo ${dest} | grep -qe "^/\+$\|^/\+live\(/.*\)\?$" then - log_warning_msg "Skipping custom mount on /" + # mounting on / or /live could cause trouble + log_warning_msg "Skipping unsafe custom mount on ${dest}" continue fi |
