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