[gnome-session] xsmp-server: make error message more clear
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] xsmp-server: make error message more clear
- Date: Thu, 19 Jul 2012 17:49:00 +0000 (UTC)
commit dcd02a75d419247e2dd1b3dfc944f1ac15a0559b
Author: Ray Strode <rstrode redhat com>
Date: Thu Jul 19 13:48:07 2012 -0400
xsmp-server: make error message more clear
gnome-session/gsm-xsmp-server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-session/gsm-xsmp-server.c b/gnome-session/gsm-xsmp-server.c
index 449243a..142902b 100644
--- a/gnome-session/gsm-xsmp-server.c
+++ b/gnome-session/gsm-xsmp-server.c
@@ -494,8 +494,8 @@ update_iceauthority (GsmXsmpServer *server,
} else {
int fd;
- if (g_file_test (filename, G_FILE_TEST_EXISTS)) {
- g_warning ("Unable to read ICE authority file: %s", filename);
+ if (errno != EEXIST) {
+ g_warning ("Unable to read ICE authority file %s: %m", filename);
goto cleanup;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]