diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-05 00:43:02 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-05 00:43:02 -0600 |
commit | 79f7c721b7275208bb2bef0fec87e1a732353b74 (patch) | |
tree | 1bf7486a198cc86adb03f8d668eb8cfb6c48cf81 /src/nslcd_proto/func_handlerequest.go.sh | |
parent | 3d58c018117b26e9fb0c3a347303c8eb37e30341 (diff) |
nslcd_proto.handleRequest had a check backwards
Diffstat (limited to 'src/nslcd_proto/func_handlerequest.go.sh')
-rwxr-xr-x | src/nslcd_proto/func_handlerequest.go.sh | 2 |
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) } |