summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorFrode Lundgren <frodelu@yahoo-inc.com>2019-10-02 14:27:34 +0200
committerFrode Lundgren <frodelu@yahoo-inc.com>2019-10-02 14:27:34 +0200
commit5b1623291f5fea6e06fe803eff190890b3eb5bad (patch)
treef58404f5ffa14e3f4a7e3f2e8f987156834f7d73 /vespa-http-client
parenta1fa45d0ea617bfacd1d540b9844dc312ad74817 (diff)
Explicitly return '1' rather than '-1' being wrapped to '255'
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/runner/Runner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/runner/Runner.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/runner/Runner.java
index 74e59aa7579..fce7afdb436 100644
--- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/runner/Runner.java
+++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/runner/Runner.java
@@ -61,7 +61,7 @@ public class Runner {
public static void main(String[] args) throws IOException {
CommandLineArguments commandLineArgs = CommandLineArguments.build(args);
if (commandLineArgs == null) {
- System.exit(-1);
+ System.exit(1);
}
FormatInputStream formatInputStream = new FormatInputStream(