diff options
| author | Tails developers <amnesia@boum.org> | 2012-02-09 12:16:56 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:07:37 +0200 |
| commit | 9ab12eda9ed52faf41b3cad8c99e1775433f47e9 (patch) | |
| tree | 75503ec6e40cb9d3574adb604d1508e7c0112872 /scripts | |
| parent | bae59cfc3b4e5272cb460b8918ad32a0faee4b60 (diff) | |
| download | live-boot-9ab12eda9ed52faf41b3cad8c99e1775433f47e9.tar.gz live-boot-9ab12eda9ed52faf41b3cad8c99e1775433f47e9.zip | |
Ignore empty lines in live.persist.
Otherwise they're interpreted as / which isn't good.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live index d774284..7be2fcc 100755 --- a/scripts/live +++ b/scripts/live @@ -1603,9 +1603,9 @@ setup_unionfs () [ "${DEBUG}" = "Yes" ] && cp ${include_list} ${persistent_backing}/${persistence_list}.${device_name} while read source dest options # < ${include_list} do - if echo ${source} | grep -qe "^[[:space:]]*#" + if echo ${source} | grep -qe "^[[:space:]]*\(#.*\)\?$" then - # skipping commented line + # skipping empty or commented lines continue fi |
