summaryrefslogtreecommitdiff
path: root/LedgerSMB/User.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/User.pm')
-rw-r--r--LedgerSMB/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm
index 0f2f0ec4..959e81df 100644
--- a/LedgerSMB/User.pm
+++ b/LedgerSMB/User.pm
@@ -428,7 +428,7 @@ sub process_query {
$ENV{PGHOST} = $form->{dbhost};
$ENV{PGPORT} = $form->{dbport};
- $results = system('psql -f $filename 2>&1');
+ $results = `psql -f $filename 2>&1`;
if ($?) {
$form->error($!);
}