summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/part_export/acct_sql.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/part_export/acct_sql.pm b/FS/FS/part_export/acct_sql.pm
index 631a44c8a..05c4310cb 100644
--- a/FS/FS/part_export/acct_sql.pm
+++ b/FS/FS/part_export/acct_sql.pm
@@ -98,6 +98,7 @@ sub _export_delete {
$table,
$primary_key => ref($keymap) ? &{$keymap}($svc_acct) : $svc_acct->$keymap()
);
+ return $err_or_queue unless ref($err_or_queue);
}
sub acct_sql_queue {