diff options
| author | Ben Armstrong <synrg@debian.org> | 2012-06-27 07:23:04 -0300 |
|---|---|---|
| committer | Ben Armstrong <synrg@debian.org> | 2012-06-27 07:23:04 -0300 |
| commit | 9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f (patch) | |
| tree | c228a0db712a09ab6a5ada07b0bc5efba5ddfc9e /scripts/boot | |
| parent | 6344cfe5b9a0921dbf8fd92feb52991b0ba07d7f (diff) | |
| download | live-boot-9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f.tar.gz live-boot-9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f.zip | |
Fix creation of /var/log/live in correct location.
Diffstat (limited to 'scripts/boot')
| -rwxr-xr-x | scripts/boot/mountroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/mountroot.sh b/scripts/boot/mountroot.sh index 5383747..69f6f0a 100755 --- a/scripts/boot/mountroot.sh +++ b/scripts/boot/mountroot.sh @@ -217,5 +217,5 @@ mountroot () exec 1>&6 6>&- exec 2>&7 7>&- kill ${tailpid} - [ -w "${rootmnt}/var/log/" ] && mkdir -p /var/log/live && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null + [ -w "${rootmnt}/var/log/" ] && mkdir -p "${rootmnt}/var/log/live" && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null } |
