/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

  • Committer: Teddy Hogeborn
  • Date: 2018-02-18 00:40:22 UTC
  • Revision ID: teddy@recompile.se-20180218004022-p36ucpmiwok1tkdi
Client: Don't print failures to remove nonexisting files.

* plugins.d/mandos-client.d (main/clean_dir_at): Only print failures
  from unlinkat() if errno != ENOENT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        shred --remove /etc/keys/mandos/seckey.txt 2>/dev/null || :
44
44
        rm --force /etc/mandos/plugin-runner.conf \
45
45
            /etc/keys/mandos/pubkey.txt \
46
 
            /etc/keys/mandos/seckey.txt 2>/dev/null
 
46
            /etc/keys/mandos/seckey.txt \
 
47
            /etc/keys/mandos/dhparams.pem 2>/dev/null
47
48
        update_initramfs
48
49
        ;;
49
50
    upgrade|failed-upgrade|disappear|abort-install|abort-upgrade)