diff options
Diffstat (limited to 'xfce4-session/xfsm-compat-gnome.c')
-rw-r--r-- | xfce4-session/xfsm-compat-gnome.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfce4-session/xfsm-compat-gnome.c b/xfce4-session/xfsm-compat-gnome.c index 05bd9622..35e96175 100644 --- a/xfce4-session/xfsm-compat-gnome.c +++ b/xfce4-session/xfsm-compat-gnome.c @@ -83,7 +83,8 @@ child_setup (gpointer user_data) if (fd != keyring_lifetime_pipe[0]) { ret = fcntl (fd, F_SETFD, FD_CLOEXEC); - if (ret == -1) + /* We end up trying to close a lot of non-existant FDs here */ + if (ret == -1 && errno != EBADF) { perror ("child_setup: fcntl (fd, F_SETFD, FD_CLOEXEC) failed"); } |