From a34c4af1721a876fcd8c9103f9295e39a77f0d33 Mon Sep 17 00:00:00 2001
From: Qball Cow <qball@qballcow.nl>
Date: Wed, 14 Dec 2005 10:32:48 +0000
Subject: Configure fix, so when no glib found it gives a error, and another
 race condition fix in the master proces patch.

git-svn-id: https://svn.musicpd.org/mpd/trunk@3730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/main.c b/src/main.c
index 1866ecfe0..5baf3dea1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -520,11 +520,11 @@ int main(int argc, char * argv[]) {
 	initAudioConfig();
         initAudioDriver();
 
+        initSigHandlers();
 	startMainProcess();
 	/* This is the main process which has
 	 * been forked from the master process.
 	 */
-        initSigHandlers();
 	
 	initPermissions();
 
-- 
cgit v1.2.3