commit | 3caf43e3a1567affb2e35f4577d7c51c606187f1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Jan 24 18:52:16 2014 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jan 24 18:52:16 2014 -0800 |
tree | 30f1114e8855271aa7575f9334eeb7aeca0f3ff4 | |
parent | 5e4c7118da52cb62aa9361dcac16c68001813cb9 [diff] [blame] |
server: fix wrong error return on host lookup failure Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/server.c b/server.c index 9b13df8..9bfae79 100644 --- a/server.c +++ b/server.c
@@ -1414,7 +1414,7 @@ if (ret) { log_err("fio: failed to resolve <%s> (%s)\n", host, gai_strerror(ret)); - return 0; + return 1; } if (*ipv6)