From 9cec19c534cc2876c9bb2ed0eb990eb5a7bd1c9f Mon Sep 17 00:00:00 2001 From: Ben Armstrong Date: Wed, 27 Jun 2012 07:23:04 -0300 Subject: Fix creation of /var/log/live in correct location. --- scripts/boot/mountroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 } -- cgit v1.2.3