summaryrefslogtreecommitdiffstats
path: root/vespaclient/src/perl/bin/GetNodeState.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient/src/perl/bin/GetNodeState.pl')
-rwxr-xr-xvespaclient/src/perl/bin/GetNodeState.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/vespaclient/src/perl/bin/GetNodeState.pl b/vespaclient/src/perl/bin/GetNodeState.pl
index 4728bc6b524..f7ac5a24918 100755
--- a/vespaclient/src/perl/bin/GetNodeState.pl
+++ b/vespaclient/src/perl/bin/GetNodeState.pl
@@ -4,7 +4,6 @@
# BEGIN perl environment bootstrap section
# Do not edit between here and END as this section should stay identical in all scripts
-use warnings;
use File::Basename;
use File::Path;
@@ -55,7 +54,6 @@ sub findhome {
BEGIN {
my $tmp = findhome();
- if ( $tmp !~ m{[/]$} ) { $tmp .= "/"; }
$ENV{'VESPA_HOME'} = $tmp;
}
my $VESPA_HOME = $ENV{'VESPA_HOME'};