diff options
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/util.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 607ad1a..a460c57 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -34,6 +34,7 @@ gettime gitlog-to-changelog git-version-gen hash +ignore-value lchmod lstat maintainer-makefile @@ -29,6 +29,7 @@ #include <xalloc.h> #include <getdate.h> +#include "ignore-value.h" #include <signal.h> #if !defined SIGCHLD && defined SIGCLD @@ -1007,7 +1008,7 @@ ask (char const *format, ...) { perror ("tty read"); fflush (stderr); - close (ttyfd); + ignore_value (close (ttyfd)); ttyfd = -1; r = 0; } |