[PATCH] [master] Fix logging of isys mount/umount into program.log.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 isys/imount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/isys/imount.c b/isys/imount.c
index 30b6302..a62e223 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;
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux