Use kenv -q to extract dumpdev rather than kenv, in order to avoid
spamming the console in the event that a loader tunable 'dumpdev' isn't defined, which is not a relevant failure to report. MFC after: 1 week
This commit is contained in:
parent
c3ee3aa526
commit
218fe3f1b0
@ -33,7 +33,7 @@ dumpon_start()
|
||||
[Nn][Oo] | '')
|
||||
;;
|
||||
[Aa][Uu][Tt][Oo])
|
||||
dev=$(/bin/kenv dumpdev)
|
||||
dev=$(/bin/kenv -q dumpdev)
|
||||
if [ -n "${dev}" ] ; then
|
||||
dumpon_try "${dev}"
|
||||
return $?
|
||||
|
Loading…
Reference in New Issue
Block a user