diff options
author | Struan Donald <struan@exo.org.uk> | 2011-10-11 17:25:47 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-10-11 17:25:47 +0100 |
commit | 74f5764055bafe0ffef500029376b741ee98b790 (patch) | |
tree | fa6584ce06fb9686a486a51c06fd5bf81d26bf5a | |
parent | 596e6b03eaea0814987fbc1ae00849429fe97cc2 (diff) |
do the correct thing with result success flag
-rwxr-xr-x | bin/send-reports | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports index fc62f3211..a43432312 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -277,9 +277,9 @@ while (my $row = $unsent->next) { if ( $resp ) { $row->external_id( $resp ); - $result = 0; + $result *= 0; } else { - $result = 1; + $result *= 1; } } } |