From 4af728134c83622119366c65af2fc92f7adcc601 Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Mon, 23 Jun 2008 04:39:36 +0000 Subject: [PATCH] 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 cc049ec89a0..4e448ea032e 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 } -- 2.45.0