From 166ff5a00320bdce3b06dd34a5dfcd9e567568bd Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sun, 20 Sep 2009 21:27:00 +0000 Subject: [PATCH] Buildd's should always connect to the priviliged service to allow them to update the last seen entry. --- bin/wanna-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.2