aboutsummaryrefslogtreecommitdiff
path: root/modules/generic
diff options
context:
space:
mode:
Diffstat (limited to 'modules/generic')
-rw-r--r--modules/generic/pdp_rawout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generic/pdp_rawout.c b/modules/generic/pdp_rawout.c
index e66929a..e001b37 100644
--- a/modules/generic/pdp_rawout.c
+++ b/modules/generic/pdp_rawout.c
@@ -138,7 +138,7 @@ static void *rawout_thread(void *y)
/* open pipe */
if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_NONBLOCK|O_APPEND))){
- if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT))){
+ if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT, 0600))){
perror(me);
goto exit;
}