Skip to content

Commit

Permalink
vpoller-cclient: Return EX_UNAVAILABLE if don't get a reply back
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Aug 27, 2014
1 parent 673a9a1 commit 181dc3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vpoller-cclient/vpoller-cclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 181dc3b

Please sign in to comment.