aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-10-11 17:25:47 +0100
committerStruan Donald <struan@exo.org.uk>2011-10-11 17:25:47 +0100
commit74f5764055bafe0ffef500029376b741ee98b790 (patch)
treefa6584ce06fb9686a486a51c06fd5bf81d26bf5a /bin/send-reports
parent596e6b03eaea0814987fbc1ae00849429fe97cc2 (diff)
do the correct thing with result success flag
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports4
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;
}
}
}