summaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient')
-rwxr-xr-xvespaclient/src/perl/bin/GetClusterState.pl2
-rwxr-xr-xvespaclient/src/perl/bin/GetNodeState.pl2
-rwxr-xr-xvespaclient/src/perl/bin/SetNodeState.pl2
-rw-r--r--vespaclient/src/vespa/vespaclient/spoolmaster/application.cpp4
4 files changed, 2 insertions, 8 deletions
diff --git a/vespaclient/src/perl/bin/GetClusterState.pl b/vespaclient/src/perl/bin/GetClusterState.pl
index d95d2b58b9d..6dd36d9e131 100755
--- a/vespaclient/src/perl/bin/GetClusterState.pl
+++ b/vespaclient/src/perl/bin/GetClusterState.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'};
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'};
diff --git a/vespaclient/src/perl/bin/SetNodeState.pl b/vespaclient/src/perl/bin/SetNodeState.pl
index e807c86d772..f5df40a2433 100755
--- a/vespaclient/src/perl/bin/SetNodeState.pl
+++ b/vespaclient/src/perl/bin/SetNodeState.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'};
diff --git a/vespaclient/src/vespa/vespaclient/spoolmaster/application.cpp b/vespaclient/src/vespa/vespaclient/spoolmaster/application.cpp
index 8c9dc9f65e2..0220f196185 100644
--- a/vespaclient/src/vespa/vespaclient/spoolmaster/application.cpp
+++ b/vespaclient/src/vespa/vespaclient/spoolmaster/application.cpp
@@ -12,13 +12,13 @@ namespace {
std::string masterInbox() {
std::string dir = vespa::Defaults::vespaHome();
- dir.append("var/spool/master/inbox");
+ dir.append("/var/spool/master/inbox");
return dir;
}
std::string outboxParent() {
std::string dir = vespa::Defaults::vespaHome();
- dir.append("var/spool/vespa");
+ dir.append("/var/spool/vespa");
return dir;
}