diff options
author | Bill Nottingham <notting@redhat.com> | 2008-05-12 17:43:36 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-05-12 17:43:36 -0400 |
commit | 906294025573d07c739894fa3b2eedc82813a379 (patch) | |
tree | fa28bec4928b81e92a177d0ebbaf4f22fcd32a05 /Xtranssock.c | |
parent | 08134c2ce72bc43c172b6ae134d8a94a40b45c9b (diff) |
Ignore mkdir() errors when creating the abstract socket.
Red Hat bug #445303.
Diffstat (limited to 'Xtranssock.c')
-rw-r--r-- | Xtranssock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c index 9be7f5a..8b8e4a9 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -1148,7 +1148,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, char *port, #else mode = 0777; #endif - if (trans_mkdir(UNIX_DIR, mode) == -1) { + if (!abstract && trans_mkdir(UNIX_DIR, mode) == -1) { PRMSG (1, "SocketUNIXCreateListener: mkdir(%s) failed, errno = %d\n", UNIX_DIR, errno, 0); (void) umask (oldUmask); |