outputting \r makes output unreadable in journald
This commit is contained in:
parent
a32e1bf36f
commit
46ef43f782
@ -39,7 +39,7 @@ class Main:
|
|||||||
self.total += 1
|
self.total += 1
|
||||||
if self.verbose or not stat in [Stat.OK, Stat.SKIP]:
|
if self.verbose or not stat in [Stat.OK, Stat.SKIP]:
|
||||||
print(stat.value, path)
|
print(stat.value, path)
|
||||||
if not self.quiet:
|
if not self.quiet and sys.stdout.isatty():
|
||||||
print(self.total, end="\r")
|
print(self.total, end="\r")
|
||||||
|
|
||||||
def _parse_args(self):
|
def _parse_args(self):
|
||||||
|
Reference in New Issue
Block a user