Open nak3 opened 7 years ago
cmd_handler: check error before checking the result of length
This patch swaps the order of error check and write/read result check.
Fixes https://github.com/coreos/go-tcmu/issues/9
cmd_handler: check error before checking the result of length
This patch swaps the order of error check and write/read result check.
Fixes https://github.com/coreos/go-tcmu/issues/9