From 7267cba42a636540c0d19d7b70e88e88c4bafdf6 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 27 Apr 2016 12:06:25 +0200 Subject: [PATCH] MT#19053 bin/update_peer_host.pl: fix error message > Use of uninitialized value in concatenation (.) or string at ./bin/update_peer_host.pl line 76. Change-Id: I121658d110d1deaa19e0e6407d5a45aa586b13ea --- bin/update_peer_host.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update_peer_host.pl b/bin/update_peer_host.pl index 79b1350c..14e7a2c9 100755 --- a/bin/update_peer_host.pl +++ b/bin/update_peer_host.pl @@ -73,7 +73,7 @@ sub do_update { die("Can't get peer data"); } } else { - die("peer $_->{name} not found"); + die("peer $ARGV[0] not found"); } return; }