summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoronestone <onestone>2006-10-02 20:22:58 +0000
committeronestone <onestone>2006-10-02 20:22:58 +0000
commit2fa554a7125f3cfcc3c419e9d68b658dd1416d4f (patch)
tree49ab5a3cc6eb116cb79e81300c97b6bea77651a7 /src
parent809ee2b3d5276bd05383e736ad58c94116f84087 (diff)
downloadberyl-manager-2fa554a7125f3cfcc3c419e9d68b658dd1416d4f.tar.gz
beryl-manager-2fa554a7125f3cfcc3c419e9d68b658dd1416d4f.tar.bz2
applied patch. closes #293
Diffstat (limited to 'src')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index aaed7e4..2f7dc65 100644
--- a/src/main.c
+++ b/src/main.c
@@ -424,7 +424,12 @@ gpointer berylThread(gpointer d)
while(berylLaunched)
{
killWM();
- g_spawn_command_line_sync(beryl_command,NULL,NULL,&ex,NULL);
+ if (!g_spawn_command_line_sync(beryl_command,NULL,NULL,&ex,NULL)) {
+ if (XGL)
+ g_error(_("can't execute beryl-xgl"));
+ else
+ g_error(_("can't execute beryl"));
+ }
if (reloadingBeryl)
{
reloadingBeryl=FALSE;