diff options
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -32,8 +32,8 @@ use lib '/usr/share/perl5/rhimport/'; use rhimport; my $DBHOST = "airplay"; -my $DBUSER = "rivendellro"; -my $DBPW = "lldrivenro"; +my $DBUSER = "rivendell"; +my $DBPW = "lldriven"; my $DB = "rivendell"; my $HELP = 0; my $FILE = ""; @@ -371,4 +371,10 @@ if($POOL) { } $dbh->disconnect(); -exit $ret; + +if($ret ne "") { + print STDERR $ret; + exit 1; +} + +exit 0; |