Blob Blame History Raw
--- src/ec_mitm.c	2008-06-16 13:21:00.000000000 -0500
+++ src/ec_mitm.c	2008-06-16 13:21:00.000000000 -0500
@@ -193,6 +193,11 @@
    mitm_start();
 
    INSTANT_USER_MSG("Activated the mitm attack only... (press 'q' to exit)\n");
+
+   if (GBL_UI->type == UI_DAEMONIZE)
+       LOOP {
+           sleep(1);
+       }
   
    /* wait for user to exit */
    while (ch != 'q' && ch != 'Q') {