[gdm] Print the version when asked to
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Print the version when asked to
- Date: Thu, 17 Jun 2010 00:07:08 +0000 (UTC)
commit 8dd5137da5600fca9543acad63a347a882b2e45e
Author: William Jon McCann <jmccann redhat com>
Date: Wed Jun 16 20:06:01 2010 -0400
Print the version when asked to
https://bugzilla.gnome.org/show_bug.cgi?id=594857
daemon/main.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index 01fa52d..cfbc6c4 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -560,6 +560,11 @@ main (int argc,
goto out;
}
+ if (print_version) {
+ g_print ("GDM %s\n", VERSION);
+ exit (1);
+ }
+
if (fatal_warnings) {
GLogLevelFlags fatal_mask;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]