* [PATCH] bin/bitbake: Clarify server error message
@ 2013-10-04 13:24 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-10-04 13:24 UTC (permalink / raw)
To: bitbake-devel
Getting an error message about --remote-server being set when really
BBSERVER was is confusing, clarify the message.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 920c6c4..88893f8 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -262,8 +262,8 @@ def main():
if not configParams.bind:
sys.exit("FATAL: The '--server-only' option requires a name/address to bind to with the -B option.\n")
if configParams.remote_server:
- sys.exit("FATAL: The '--server-only' option conflicts with the '--remote-server' option. %s\n" %
- ("Please check your BBSERVER environment" if "BBSERVER" in os.environ else "" ))
+ sys.exit("FATAL: The '--server-only' option conflicts with %s.\n" %
+ ("the BBSERVER environment variable" if "BBSERVER" in os.environ else "the '--remote-server' option" ))
if configParams.bind and configParams.servertype != "xmlrpc":
sys.exit("FATAL: If '-B' or '--bind' is defined, we must set the servertype as 'xmlrpc'.\n")
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-04 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 13:24 [PATCH] bin/bitbake: Clarify server error message Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.