summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-09-19 09:12:32 +0000
committerdes <des@FreeBSD.org>2003-09-19 09:12:32 +0000
commite35bd916c0d1158870b04f16f1fce6be159716af (patch)
tree3035f6b3be44540901ac2a96cad19dbe6f159bc6 /tools
parent102cca2e2cd6f10e03f6f5fead0db4add258fe28 (diff)
downloadFreeBSD-src-e35bd916c0d1158870b04f16f1fce6be159716af.zip
FreeBSD-src-e35bd916c0d1158870b04f16f1fce6be159716af.tar.gz
Check that $verbose is defined before using it in a comparison.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinderbox/tinderbox.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/tinderbox/tinderbox.pl b/tools/tools/tinderbox/tinderbox.pl
index be2d6a1..9b1c386 100644
--- a/tools/tools/tinderbox/tinderbox.pl
+++ b/tools/tools/tinderbox/tinderbox.pl
@@ -480,7 +480,7 @@ MAIN:{
$ENV{$key} = $userenv{$key};
}
}
- if ($verbose > 1) {
+ if ($verbose && $verbose > 1) {
foreach my $key (sort(keys(%ENV))) {
message("$key=$ENV{$key}\n");
}
OpenPOWER on IntegriCloud