about summary refs log tree commit diff
path: root/zshconfig.ac
diff options
context:
space:
mode:
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshconfig.ac b/zshconfig.ac
index b36174f4c..d6d76bc78 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -1304,7 +1304,7 @@ main()
     if(pid < 0)
 	exit(1);
     if(pid) {
-	fd = open("/tmp/fifo$$", O_RDWR);
+	fd = open("/tmp/fifo$$", O_RDONLY);
 	exit(fd < 0 || read(fd, &c, 1) != 1 || c != 'x');
     }
     fd = open("/tmp/fifo$$", O_WRONLY);