diff options
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 |
