Actions
Submit #3290
closedFix /etc/periodic/monthly/200.accounting output
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
-
Start date:
07/18/2021
Due date:
% Done:
0%
Estimated time:
Description
Currently, my periodic monthly output looks like this:
HAMMER2 snapshots: /: created snapshot /.monthly.20210719.00:31 /: 4 snapshot(s) /build: created snapshot /build.monthly.20210719.00:31 /build: 4 snapshot(s) total 71.22 falsifian 59.51 root 6.15 installer 5.57 Security check: (output mailed separately) -- End of monthly output --
Notice the lack of any header before the numbers "total 71.22" etc. It seems the message "Doing login accounting:" is being swallowed because `tee /dev/stderr` deletes existing output.
The attached patch fixes it.
Files
Actions