diff options
| author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-02-24 14:32:12 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:04 +0100 |
| commit | 275dd05ee92e5312fd7ae40e7ef60b3073ba4c65 (patch) | |
| tree | f7385facea512c30cb6424bc498cb9666a154d79 /scripts/live | |
| parent | ce0b33407eac1411ab2ca7b9e985f39e2561b098 (diff) | |
| download | live-boot-275dd05ee92e5312fd7ae40e7ef60b3073ba4c65.tar.gz live-boot-275dd05ee92e5312fd7ae40e7ef60b3073ba4c65.zip | |
Checking if /var/log is writable before trying to copy live.log to the newly mounted root filesystem (Closes: #516914).
When using the "exposedroot skipunion" options, then /var/log may not be writable at this time, resulting in an error message during bootup.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index df104ef..933eb00 100755 --- a/scripts/live +++ b/scripts/live @@ -1585,5 +1585,5 @@ mountroot () exec 1>&6 6>&- exec 2>&7 7>&- kill ${tailpid} - cp live.log "${rootmnt}/var/log/" + [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null } |
