Fix savecore service on FreeBSD
savecore -C only needs the dumpdevice otherwise it causes an error on startup. This fixes #40.
This commit is contained in:
parent
e16b7183e9
commit
be497229b6
@ -23,7 +23,7 @@ start()
|
||||
# Don't quote ${dump_device}, so that if it's unset,
|
||||
# savecore will check on the partitions listed in fstab
|
||||
# without errors in the output
|
||||
savecore -C "$dump_dir" $dump_device >/dev/null
|
||||
savecore -C $dump_device >/dev/null
|
||||
else
|
||||
ls "$dump_dir"/bsd* > /dev/null 2>&1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user