aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index 0aa0b7ee9..a7fba76f0 100644
--- a/main/app.c
+++ b/main/app.c
@@ -2010,7 +2010,7 @@ void ast_close_fds_above_n(int n)
if (entry->d_name[0] == '.') {
continue;
}
- if ((x = strtol(entry->d_name, &result, 10)) && x >= n) {
+ if ((x = strtol(entry->d_name, &result, 10)) && x > n) {
close(x);
}
}