mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
log.c: New functions to hide access to quiet and silent flags
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
60df2f2ea9
commit
cd947a69a8
6 files changed
+24
-13
No files matched your search
+1
-1
@@ -88,7 +88,7 @@ void print(int action, const char *fmt, ...)
|
||||
const char pending[] = " \e[1m[ \\/ ]\e[0m\n";
|
||||
const char dots[] = " .....................................................................";
|
||||
|
||||
if (silent)
|
||||
if (log_is_silent())
|
||||
return;
|
||||
|
||||
if (fmt) {
|
||||
|
||||
Reference in new issue
Block a user