summaryrefslogtreecommitdiffstats
path: root/src/progs/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingen')
-rw-r--r--src/progs/ingen/main.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp
index 145ec463..22ace336 100644
--- a/src/progs/ingen/main.cpp
+++ b/src/progs/ingen/main.cpp
@@ -217,11 +217,9 @@ main(int argc, char** argv)
} else {
cerr << "FAILED: " << Glib::Module::get_last_error() << endl;
}
- }
-
-
- /* Didn't run the GUI, listen to OSC and do our own main thing. */
- if (engine && !ran_gui) {
+
+ /* Listen to OSC and do our own main thing. */
+ } else if (engine && !ran_gui) {
signal(SIGINT, catch_int);
signal(SIGTERM, catch_int);