]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: warn when --file and command line message are combined
authorSami Kerola <kerolasa@iki.fi>
Sun, 27 Jul 2014 17:01:09 +0000 (18:01 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 28 Jul 2014 20:15:18 +0000 (21:15 +0100)
commit3d9f4b1d234e4a38ac6a5619c4cd93fc66d1d4c6
treea46f7d8fc8e77a1c29e1f1324583e5f409030a00
parent2e0fd22d5da49127167b2ff00d8e678a2bf8ac4b
logger: warn when --file and command line message are combined

When --file is combined with command line arguments the later has
silently been ignored.  This commit makes user to be aware the logger
will not use command line arguments when --file is specified.

Reported-by: "Daniel 'DaB.' Baur" <debian@daniel.baur4.info>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467244
CC: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/logger.c