diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-02 12:58:58 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-02 12:58:58 -0600 |
commit | 1eb1677cf916c13e07f61efc464edca1c571684d (patch) | |
tree | a25a47801de93d3027cf996b51e9cc725876b7d7 /src/nslcd_proto/func_handlerequest.go.sh | |
parent | 5fa621f8dfe2ccd674d8d94eb148c10b52b4fca0 (diff) |
Clean up
Diffstat (limited to 'src/nslcd_proto/func_handlerequest.go.sh')
-rwxr-xr-x | src/nslcd_proto/func_handlerequest.go.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nslcd_proto/func_handlerequest.go.sh b/src/nslcd_proto/func_handlerequest.go.sh index 4008dd5..185db73 100755 --- a/src/nslcd_proto/func_handlerequest.go.sh +++ b/src/nslcd_proto/func_handlerequest.go.sh @@ -37,6 +37,9 @@ done < "$requests" default: panic(NslcdError(fmt.Sprintf("unknown request action: %#08x", action))) } + if res == nil { + return + } write(out, NSLCD_VERSION) write(out, action) |