diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-04 19:04:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-04 19:04:23 +0000 |
commit | 2629bce95b47933979868808345fe1f4794d8b4a (patch) | |
tree | a4dde434757bbc75c0cff4272faa79dcf48249e9 | |
parent | 2bc3368461b8b61bb98cc57c225fd9c60fef2c4c (diff) | |
download | drakx-2629bce95b47933979868808345fe1f4794d8b4a.tar drakx-2629bce95b47933979868808345fe1f4794d8b4a.tar.gz drakx-2629bce95b47933979868808345fe1f4794d8b4a.tar.bz2 drakx-2629bce95b47933979868808345fe1f4794d8b4a.tar.xz drakx-2629bce95b47933979868808345fe1f4794d8b4a.zip |
ensure /tmp/syslog in stage2 contains the full log
-rw-r--r-- | mdk-stage1/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 622e38ff6..81252a0ea 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -126,7 +126,7 @@ void doklog() } mkdir("/tmp", 0755); - if ((log = open("/tmp/syslog", O_WRONLY | O_CREAT, 0644)) < 0) { + if ((log = open("/tmp/syslog", O_WRONLY | O_CREAT | O_APPEND, 0644)) < 0) { print_error("error opening /tmp/syslog"); sleep(5); return; |