From 3453d11c350a6a1e9173e251444d9be5de567dd4 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 13 Oct 2012 08:47:32 +0000 Subject: [PATCH] zap warnings --- infrastructure/lib/DPB/Core/Distant.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure/lib/DPB/Core/Distant.pm b/infrastructure/lib/DPB/Core/Distant.pm index 4efaf569f5c..e7b4bd22946 100644 --- a/infrastructure/lib/DPB/Core/Distant.pm +++ b/infrastructure/lib/DPB/Core/Distant.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Distant.pm,v 1.5 2012/10/12 22:18:10 espie Exp $ +# $OpenBSD: Distant.pm,v 1.6 2012/10/13 08:47:32 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -76,6 +76,7 @@ sub exec my ($self, @argv) = @_; if ($self->{env}) { while (my ($k, $v) = each %{$self->{env}}) { + $v //= ''; unshift @argv, "$k=\'$v\'"; } }