diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2009-10-30 16:20:49 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2009-10-30 16:42:15 +0100 |
commit | 762d8fd38e8da5a124aa69da283bb75a272d59e0 (patch) | |
tree | b91d5b7cc21b13e6e536b6435cebe8418959f794 /isys | |
parent | 15a826831302cfd183b7e77e4a1b8105f9b16c6b (diff) | |
download | anaconda-762d8fd38e8da5a124aa69da283bb75a272d59e0.tar.gz anaconda-762d8fd38e8da5a124aa69da283bb75a272d59e0.tar.xz anaconda-762d8fd38e8da5a124aa69da283bb75a272d59e0.zip |
Fix logging of isys mount/umount into program.log.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/imount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/imount.c b/isys/imount.c index 30b63029f..a62e22398 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -119,7 +119,7 @@ int mountCommandWrapper(int mode, char *dev, char *where, char *fs, } programLogFD = open("/tmp/program.log", - O_APPEND|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); + O_APPEND|O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); if (pipe(pipefd)) return IMOUNT_ERR_ERRNO; |