projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6344cfe
)
Fix creation of /var/log/live in correct location.
author
Ben Armstrong
<synrg@debian.org>
Wed, 27 Jun 2012 10:23:04 +0000
(07:23 -0300)
committer
Ben Armstrong
<synrg@debian.org>
Wed, 27 Jun 2012 10:23:04 +0000
(07:23 -0300)
scripts/boot/mountroot.sh
patch
|
blob
|
history
diff --git
a/scripts/boot/mountroot.sh
b/scripts/boot/mountroot.sh
index
5383747
..
69f6f0a
100755
(executable)
--- 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
}