summaryrefslogtreecommitdiff
path: root/src/nslcd_proto/func_handlerequest.go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nslcd_proto/func_handlerequest.go.sh')
-rwxr-xr-xsrc/nslcd_proto/func_handlerequest.go.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nslcd_proto/func_handlerequest.go.sh b/src/nslcd_proto/func_handlerequest.go.sh
index 62ef231..8034594 100755
--- a/src/nslcd_proto/func_handlerequest.go.sh
+++ b/src/nslcd_proto/func_handlerequest.go.sh
@@ -46,7 +46,7 @@ done < "$requests"
var result interface{}
var err error
- for result, err = res.GenericGetNext(); (result != nil) && (err != nil); result, err = res.GenericGetNext() {
+ for result, err = res.GenericGetNext(); (result != nil) && (err == nil); result, err = res.GenericGetNext() {
write(out, NSLCD_RESULT_BEGIN)
write(out, result)
}