Skip to content

Commit

Permalink
fix request job status
Browse files Browse the repository at this point in the history
  • Loading branch information
beaudu committed Oct 9, 2019
1 parent c0e8752 commit 7b554f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CODE/cgi-bin/showREQ.pl
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ =head1 DESCRIPTION
$table .= "<TD></TD>";
} else {
my ($rcmd,$rc) = split(/|/,$rreq);
if ($rc eq "") {
$table .= "<TD align=center bgcolor=orange>wait...</TD>";
} elsif ($rc == 0) {
if ($rc eq "0") {
$table .= "<TD align=center bgcolor=green>OK</TD>";
} else {
} elsif ($rc > 0) {
$table .= "<TD align=center bgcolor=red>error</TD>";
} else {
$table .= "<TD align=center bgcolor=orange>wait...</TD>";
}
}
}
Expand Down

0 comments on commit 7b554f4

Please sign in to comment.