Signed-off-by: Petr Holasek <pholasek@xxxxxxxxxx> --- irqbalance.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/irqbalance.c b/irqbalance.c index 29967ba..226fcc6 100644 --- a/irqbalance.c +++ b/irqbalance.c @@ -279,8 +279,10 @@ int main(int argc, char** argv) if (getenv("IRQBALANCE_ONESHOT")) one_shot_mode=1; - if (getenv("IRQBALANCE_DEBUG")) + if (getenv("IRQBALANCE_DEBUG")) { debug_mode=1; + foreground_mode=1; + } /* * If we are't in debug mode, don't dump anything to the console -- 2.1.0