forked from Mirror/pmbootstrap
parent
67767b99ad
commit
8948594d74
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ class Log(commands.Command):
|
|||
|
||||
if self.clear_log:
|
||||
run.user(["truncate", "-s", "0", context.log])
|
||||
run.user(["truncate", "-s", "0", log_testsuite])
|
||||
if log_testsuite.exists():
|
||||
run.user(["truncate", "-s", "0", log_testsuite])
|
||||
|
||||
cmd: list[PathString] = ["tail", "-n", str(self.lines), "-F"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue