summaryrefslogtreecommitdiff
path: root/lib/cloexec.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-04 13:08:29 +0000
committerJim Meyering <jim@meyering.net>2004-03-04 13:08:29 +0000
commitf5057405b1eafb6ee2a01853a91ba256d8723e47 (patch)
tree1a4004a6e888d001b72984c7b7fcdde509365962 /lib/cloexec.c
parentf04cf614b0c2eb63b0c9534121ea910b0554d9eb (diff)
downloadcoreutils-f5057405b1eafb6ee2a01853a91ba256d8723e47.tar.xz
(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.
Diffstat (limited to 'lib/cloexec.c')
-rw-r--r--lib/cloexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cloexec.c b/lib/cloexec.c
index 7714a160e..20f30db45 100644
--- a/lib/cloexec.c
+++ b/lib/cloexec.c
@@ -57,7 +57,7 @@ set_cloexec_flag (int desc, bool value)
#else
- return false;
+ return true;
#endif
}