forked from pool/lxsession
390562b73c
bug sf#3030576 (bnc#623192) OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=31
25 lines
781 B
Diff
25 lines
781 B
Diff
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
|