mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +00: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:
1 parent
477b50b7a6
commit
939c6f2f67
2 files changed
-4
No files matched your search
@@ -185,9 +185,6 @@ char *strip_line(char *line)
|
|||||||
|
|
||||||
void enable_progress(int onoff)
|
void enable_progress(int onoff)
|
||||||
{
|
{
|
||||||
if (debug)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (onoff)
|
if (onoff)
|
||||||
progress_style = progress_onoff;
|
progress_style = progress_onoff;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user