Skip to content
Browse files

Fix JRUBY-5973: "Failure to connect to Nailgun server produces confus…

…ing error" for shell script
  • Loading branch information...
1 parent 0ce098d commit 4eefc7d53862d7b94b8c6fe2cb3bca7ee7ea1ad9 @BanzaiMan BanzaiMan committed Aug 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tool/nailgun/src/c/ng.c
View
2 tool/nailgun/src/c/ng.c
@@ -576,7 +576,7 @@ int main(int argc, char *argv[], char *env[]) {
if (connect(nailgunsocket, (struct sockaddr *)&server_addr,
sizeof(struct sockaddr)) == -1) {
- perror("connect");
+ perror("connect to Nailgun server");
cleanUpAndExit(NAILGUN_CONNECT_FAILED);
}

0 comments on commit 4eefc7d

Please sign in to comment.
Something went wrong with that request. Please try again.