build: Remove a redundant message

If systemd-tmpfiles(8) couldn't be spawned, then the attempted command
is already included in the traceback:
  Traceback (most recent call last):
    File "toolbox/meson_post_install.py", line 26, in <module>
      subprocess.run(['systemd-tmpfiles', '--create'], check=True)
    File "/usr/lib64/python3.10/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['systemd-tmpfiles',
      '--create']' returned non-zero exit status 73.

https://github.com/containers/toolbox/pull/1122
This commit is contained in:
Debarshi Ray 2022-09-09 18:27:20 +02:00
parent a0569fdc3e
commit 01d3510141

View file

@ -22,7 +22,6 @@ import sys
destdir = os.environ.get('DESTDIR', '') destdir = os.environ.get('DESTDIR', '')
if not destdir and not os.path.exists('/run/.containerenv'): if not destdir and not os.path.exists('/run/.containerenv'):
print('Calling systemd-tmpfiles --create ...')
subprocess.run(['systemd-tmpfiles', '--create'], check=True) subprocess.run(['systemd-tmpfiles', '--create'], check=True)
sys.exit(0) sys.exit(0)