From: Kurt Roeckx Date: Sun, 20 Sep 2009 21:27:00 +0000 (+0000) Subject: Buildd's should always connect to the priviliged service to allow them to update... X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=166ff5a00320bdce3b06dd34a5dfcd9e567568bd Buildd's should always connect to the priviliged service to allow them to update the last seen entry. --- diff --git a/bin/wanna-build b/bin/wanna-build index fd814fb..313bc0b 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -302,7 +302,7 @@ END { } my $schema_suffix = ''; -if (isin( $op_mode, qw(list info)) && $distribution !~ /security/) { +if (isin( $op_mode, qw(list info)) && $distribution !~ /security/ && !(not -t and $user =~ /-/)) { $dbh = DBI->connect("DBI:Pg:service=wanna-build") || die "FATAL: Cannot open database: $DBI::errstr\n"; $schema_suffix = '_public';