SHA256
1
0
forked from pool/lxsession
lxsession/lxsession-0.4.4-fix-bnc623192.patch

25 lines
781 B
Diff
Raw Normal View History

From b87979e4dfe4279be4f96f7e010ea4c8557f50a6 Mon Sep 17 00:00:00 2001
From: Marty Jack <martyj@linux.local>
Date: Fri, 16 Jul 2010 16:46:58 -0400
Subject: [PATCH] Soften from g_error to fprintf(stderr) to quiet abrt (Bug3030576)
---
lxsession/lxsession.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lxsession/lxsession.c b/lxsession/lxsession.c
index 17e3ff7..026a30b 100644
--- a/lxsession/lxsession.c
+++ b/lxsession/lxsession.c
@@ -289,7 +289,7 @@ int main(int argc, char** argv)
else if( G_UNLIKELY( !single_instance_check()) )
{
/* only one instance is allowed for each X. */
- g_error( "Only one lxsession can be executed at a time." );
+ fprintf(stderr, "Only one lxsession can be executed at a time");
return 1;
}
--
1.6.3