summaryrefslogtreecommitdiff
path: root/src/machine-id-commit
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-07 11:35:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-23 23:38:31 -0500
commit8527b07be1c5211b50a1a6496585952857a25c73 (patch)
tree1d22d5a2d267ac1377e8c2741f12150541a0f12c /src/machine-id-commit
parentd028e01814a405e83c400c60545785d35dba2a17 (diff)
systemctl: support auditd.service better
We would print the filename header before trying to open the file. But since the header was printed to stdout, and the error to stderr, the error would appear on the terminal before the header. It is cleaner to open the file first, then and only then print the header. Also exit on first error. We shouldn't report success if we were unable to open a file.
Diffstat (limited to 'src/machine-id-commit')
0 files changed, 0 insertions, 0 deletions