[DragonFlyBSD - Submit #3290] (Closed) Fix /etc/periodic/monthly/200.accounting output

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Aug 21 05:34:20 PDT 2021

Issue #3290 has been updated by swildner.

Status changed from New to Closed

Thanks, I've pushed it.

Submit #3290: Fix /etc/periodic/monthly/200.accounting output

* Author: falsifian
* Status: Closed
* Priority: Normal
* Category: Userland
* Start date: 2021-07-18
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.

200.accounting.patch (523 Bytes)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Submit mailing list