mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Fix regression in displaying progress at runtime
We don't want to show progress (starting/stopping/restaring) at runtime, since Finit v3. Many systems hooked up to a console get confused by sudden output, or even ansi escape sequences. This patch drops code added recently which caused a regression in this policy. The resulting code is even more readable. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -185,9 +185,6 @@ char *strip_line(char *line)
|
||||
|
||||
void enable_progress(int onoff)
|
||||
{
|
||||
if (debug)
|
||||
return;
|
||||
|
||||
if (onoff)
|
||||
progress_style = progress_onoff;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user