summaryrefslogtreecommitdiffhomepage
path: root/auto/os/solaris
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os/solaris')
-rw-r--r--auto/os/solaris3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/os/solaris b/auto/os/solaris
index 16da4b3fd..d39df0bf7 100644
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -35,7 +35,8 @@ ngx_feature_path=
ngx_feature_libs="-lsendfile"
ngx_feature_test="int fd = 1; sendfilevec_t vec[1];
size_t sent; ssize_t n;
- n = sendfilev(fd, vec, 1, &sent)"
+ n = sendfilev(fd, vec, 1, &sent);
+ if (n == -1) return 1"
. auto/feature