summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/main.cpp')
-rwxr-xr-xAudioManagerDaemon/src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp
index b5eed1c..3d552f5 100755
--- a/AudioManagerDaemon/src/main.cpp
+++ b/AudioManagerDaemon/src/main.cpp
@@ -264,13 +264,11 @@ static void signalHandler(int sig, siginfo_t *siginfo, void *context)
(void) sig;
(void) siginfo;
(void) context;
- logError("signal handler was called, exit now...");
+ logInfo("signal handler was called, signal",sig);
gDispatchDone = 1;
//todo: maually fire the mainloop
CAmControlSender::CallsetControllerRundown();
- //todo: Maybe we can remove this here in a productive system. For now it's handy :-)
- exit (-1);
}
void mainProgram()
@@ -357,7 +355,6 @@ int main(int argc, char *argv[], char** envp)
sigaction(SIGQUIT, &signalAction, NULL);
sigaction(SIGTERM, &signalAction, NULL);
sigaction(SIGHUP, &signalAction, NULL);
- sigaction(SIGQUIT, &signalAction, NULL);
struct sigaction signalChildAction;
memset(&signalChildAction, '\0', sizeof(signalChildAction));