summaryrefslogtreecommitdiffstats
path: root/cmd/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hook.go')
-rw-r--r--cmd/hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hook.go b/cmd/hook.go
index 73386038b3..ab6d48b545 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -792,7 +792,7 @@ func writeDataPktLine(out io.Writer, data []byte) error {
if err != nil {
return fail("Internal Server Error", "Pkt-Line response failed: %v", err)
}
- if 4 != lr {
+ if lr != 4 {
return fail("Internal Server Error", "Pkt-Line response failed: %v", err)
}