Show More
@@ -288,7 +288,7 b' static void execcmdserver(const struct c' | |||
|
288 | 288 | de->d_name); |
|
289 | 289 | continue; |
|
290 | 290 | } |
|
291 | if (fd_value > STDERR_FILENO) { | |
|
291 | if (fd_value > STDERR_FILENO && fd_value != dirfd(dp)) { | |
|
292 | 292 | debugmsg("closing fd %ld", fd_value); |
|
293 | 293 | int res = close(fd_value); |
|
294 | 294 | if (res) { |
@@ -298,6 +298,7 b' static void execcmdserver(const struct c' | |||
|
298 | 298 | } |
|
299 | 299 | } |
|
300 | 300 | } |
|
301 | closedir(dp); | |
|
301 | 302 | } |
|
302 | 303 | |
|
303 | 304 | if (putenv("CHGINTERNALMARK=") != 0) |
General Comments 0
You need to be logged in to leave comments.
Login now