diff options
-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; |