diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-01-25 15:11:49 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-01-25 15:11:49 (GMT) |
commit | ed08019dd9df6f942aa25f94bda6f944e3d007e8 (patch) | |
tree | 8dfec2c90e39fea3254e3f799a7aaa8afae3efde /rhimport-ra | |
parent | 4d418f9a80bed209b866a32c89ecfdf565f949ab (diff) |
improved output at non-fitting dropbox
git-svn-id: https://svn.helsinki.at/rhimport/trunk@125 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'rhimport-ra')
-rwxr-xr-x | rhimport-ra | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport-ra b/rhimport-ra index bbe6d26..0c0f49f 100755 --- a/rhimport-ra +++ b/rhimport-ra @@ -56,9 +56,9 @@ my $dbh = DBI->connect("DBI:mysql:$DB:$DBHOST","$DBUSER","$DBPW") or die "Databa my @allowed_dbs = rhimport::get_dropboxes($dbh, $user, $group); if(scalar(@allowed_dbs) != 1) { - print "found multiple Dropboxes for this group?!\n"; + print "found multiple or no Dropboxes for this group?!\n"; $dbh->disconnect(); - exit 0; + exit 1; } my $dropbox = $allowed_dbs[0]->{'PATH'}; my $to_cart = $allowed_dbs[0]->{'TO_CART'}; |