From 2f0549583cebcbe896ea5526070bdfeb5e810748 Mon Sep 17 00:00:00 2001 From: Andreas Barth Date: Wed, 30 Mar 2011 21:01:11 +0000 Subject: [PATCH] fix a place where use strict complains --- bin/wanna-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wanna-build b/bin/wanna-build index 636cdae..fa13874 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -284,7 +284,7 @@ if ($distribution eq 'any-unpriv') { } my $schema_suffix = ''; -$recorduser //= (not -t and $user =~ /^buildd_/); +$recorduser //= (not -t and $user//"" =~ /^buildd_/); if (isin( $op_mode, qw(list info)) && $distribution !~ /security/ && !$recorduser && !($privmode)) { $dbh = DBI->connect("DBI:Pg:service=wanna-build") || die "FATAL: Cannot open database: $DBI::errstr\n"; -- 2.39.2