diff --git a/src/vpoller-cclient/vpoller-cclient.c b/src/vpoller-cclient/vpoller-cclient.c index 0aaaffe..bab2778 100644 --- a/src/vpoller-cclient/vpoller-cclient.c +++ b/src/vpoller-cclient/vpoller-cclient.c @@ -237,6 +237,7 @@ main(int argc, char *argv[]) /* Do we have any result? */ if (result == NULL) { + rc = EX_UNAVAILABLE; printf("{ \"success\": 1, \"msg\": \"Did not receive reply from server, aborting...\" }\n"); } else { printf("%s\n", result);