Commit f18652d3 authored by Janne Haapsaari's avatar Janne Haapsaari Committed by Colin Walters

main: change exit value of --version from 1 to 0

gnome-session --version prints version string and gave 1 as a
exit value. This patch changes that exit value from 1 to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=690273
parent b697d212
......@@ -288,7 +288,7 @@ main (int argc, char **argv)
if (show_version) {
g_print ("%s %s\n", argv [0], VERSION);
exit (1);
exit (0);
}
if (please_fail) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment