summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/dumpon3
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
}
OpenPOWER on IntegriCloud