]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: add --no-act for testing
authorKarel Zak <kzak@redhat.com>
Mon, 16 Mar 2015 11:38:46 +0000 (12:38 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Apr 2015 10:14:31 +0000 (12:14 +0200)
commitfa751a133741d416304c6199138d30236da7b973
tree466391f9444814f504c134ce11f5db3365bd474e
parent75b8d104303a092681d0c14d31ec77fbb4d553e0
logger: add --no-act for testing

* force --journal mode to also output to stderr when the option
  --stderr specified on command line

* add --no-act to avoid all write() operations to make it possible to
  write tests without "spam" system logs

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.1
misc-utils/logger.c