From fd5ad8945d25601441e3807b4b1dbe992659bc5e Mon Sep 17 00:00:00 2001 From: mtm Date: Mon, 23 Jun 2008 04:39:36 +0000 Subject: Remove the -v flag from the command line to dumpon(8), and instead print diagnostic ouput only if the command fails. --- etc/rc.d/dumpon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/dumpon b/etc/rc.d/dumpon index cc049ec..4e448ea 100644 --- a/etc/rc.d/dumpon +++ b/etc/rc.d/dumpon @@ -15,11 +15,12 @@ stop_cmd="dumpon_stop" dumpon_try() { - if /sbin/dumpon -v "${1}" ; then + if /sbin/dumpon "${1}" ; then # Make a symlink in devfs for savecore ln -fs "${1}" /dev/dumpdev return 0 fi + warn "unable to specify $1 as a dump device" return 1 } -- cgit v1.1