cshark-luci: set status on failure

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
cshark-luci: remove unneeded whitespace

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
cshark-luci: add stricter checking

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>