summaryrefslogtreecommitdiff
path: root/scripts/boot
diff options
context:
space:
mode:
authorBen Armstrong <synrg@debian.org>2012-06-27 07:23:04 -0300
committerBen Armstrong <synrg@debian.org>2012-06-27 07:23:04 -0300
commit9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f (patch)
treec228a0db712a09ab6a5ada07b0bc5efba5ddfc9e /scripts/boot
parent6344cfe5b9a0921dbf8fd92feb52991b0ba07d7f (diff)
downloadlive-boot-9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f.tar.gz
live-boot-9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f.zip
Fix creation of /var/log/live in correct location.
Diffstat (limited to 'scripts/boot')
-rwxr-xr-xscripts/boot/mountroot.sh2
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
}