diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-23 04:39:36 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-23 04:39:36 +0000 |
commit | fd5ad8945d25601441e3807b4b1dbe992659bc5e (patch) | |
tree | 873fff75130bc738861cd3972f17750b0729e76d /etc/rc.d/dumpon | |
parent | 3741479887dcf450286763bf7aa01e64ce3604cc (diff) | |
download | FreeBSD-src-fd5ad8945d25601441e3807b4b1dbe992659bc5e.zip FreeBSD-src-fd5ad8945d25601441e3807b4b1dbe992659bc5e.tar.gz |
Remove the -v flag from the command line to dumpon(8), and instead print
diagnostic ouput only if the command fails.
Diffstat (limited to 'etc/rc.d/dumpon')
-rw-r--r-- | etc/rc.d/dumpon | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |