diff options
author | Erik Troan <ewt@redhat.com> | 1999-07-20 21:59:13 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-07-20 21:59:13 +0000 |
commit | b96c1e019990ba46cbe2d00349088028f99dc969 (patch) | |
tree | 69d269ab5155c3c03a491a31fab865aa239882c5 /loader/log.c | |
parent | ccef0e7b6bfeff161a4f78ad04a4dc418e5da0fa (diff) | |
download | anaconda-b96c1e019990ba46cbe2d00349088028f99dc969.tar.gz anaconda-b96c1e019990ba46cbe2d00349088028f99dc969.tar.xz anaconda-b96c1e019990ba46cbe2d00349088028f99dc969.zip |
make /tmp/install.log new, not append
Diffstat (limited to 'loader/log.c')
-rw-r--r-- | loader/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/log.c b/loader/log.c index 47b22761a..2ab4c392f 100644 --- a/loader/log.c +++ b/loader/log.c @@ -35,7 +35,7 @@ void openLog(int useLocal) { if (logfile) logfd = open("/dev/tty3", O_WRONLY); else { - logfile = fopen("/tmp/install.log", "a"); + logfile = fopen("/tmp/install.log", "w"); logfd = open("/tmp/install.log", O_WRONLY| O_APPEND); } } else { |