[Spice-commits] Branch '0.8' - client/application.cpp
Alon Levy
alon at kemper.freedesktop.org
Thu May 12 03:45:22 PDT 2011
client/application.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f73a05021cdc45354cfd06d5e4b4f4818c6fdaba
Author: Alon Levy <alevy at redhat.com>
Date: Thu May 12 12:38:23 2011 +0300
client: fix return code when missing host
diff --git a/client/application.cpp b/client/application.cpp
index 60c7dde..e5cb4c4 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -2429,6 +2429,7 @@ bool Application::process_cmd_line(int argc, char** argv, bool &full_screen)
if (host.empty()) {
Platform::term_printf("%s: missing --host\n", argv[0]);
+ _exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR;
return false;
}
More information about the Spice-commits
mailing list