summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/ss/help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/ss/help.c b/src/util/ss/help.c
index 019939795..b144e282e 100644
--- a/src/util/ss/help.c
+++ b/src/util/ss/help.c
@@ -73,6 +73,7 @@ got_it:
switch (child = fork()) {
case -1:
ss_perror(sci_idx, errno, "Can't fork for pager");
+ close(fd);
return;
case 0:
(void) dup2(fd, 0); /* put file on stdin */