pmbootstrap log -c is broken
pmbootstrap version: 3.0.0
(003122) [22:26:31] % truncate -s 0 /home/user/path_to/pmbootstrap/.pytest_tmp/log_testsuite.txt
truncate: cannot open '/home/user/path_to/pmbootstrap/.pytest_tmp/log_testsuite.txt' for writing: No such file or directory
(003122) [22:26:31] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(003122) [22:26:31] NOTE: The failed command's output is above the ^^^ line in the log file: /home/user/.local/var/pmbootstrap/log.txt
(003122) [22:26:31] ERROR: Command failed (exit code 1): % truncate -s 0 /home/user/path_to/pmbootstrap/.pytest_tmp/log_testsuite.txt
(003122) [22:26:31] See also: <https://postmarketos.org/troubleshooting>
(003122) [22:26:31] Traceback (most recent call last):
File "/home/user/path_to/pmbootstrap/pmb/__init__.py", line 87, in main
run_command(args)
File "/home/user/path_to/pmbootstrap/pmb/commands/__init__.py", line 86, in run_command
command.run()
File "/home/user/path_to/pmbootstrap/pmb/commands/log.py", line 26, in run
run.user(["truncate", "-s", "0", log_testsuite])
File "/home/user/path_to/pmbootstrap/pmb/helpers/run.py", line 51, in user
return pmb.helpers.run_core.core(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/path_to/pmbootstrap/pmb/helpers/run_core.py", line 437, in core
check_return_code(code, log_message)
File "/home/user/path_to/pmbootstrap/pmb/helpers/run_core.py", line 277, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
RuntimeError: Command failed (exit code 1): % truncate -s 0 /home/user/path_to/pmbootstrap/.pytest_tmp/log_testsuite.txt