1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Remove the -v flag from the command line to dumpon(8), and instead print

diagnostic ouput only if the command fails.
This commit is contained in:
Mike Makonnen 2008-06-23 04:39:36 +00:00
parent 40c3350ab9
commit 4af728134c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179943

View File

@ -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
}