aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Donnelly <Amzo@archbsd.com>2015-03-04 09:07:12 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-03-23 14:06:52 -0500
commitbe497229b64613ebfbc4073985107a275d49f78e (patch)
treee12abedd5fde8ff9775734948f2884bc0cfb9386
parente16b7183e90090ecee539697508582d208859a8b (diff)
Fix savecore service on FreeBSD
savecore -C only needs the dumpdevice otherwise it causes an error on startup. This fixes #40.
-rw-r--r--init.d/savecore.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/savecore.in b/init.d/savecore.in
index b1b6ca37..cb005643 100644
--- a/init.d/savecore.in
+++ b/init.d/savecore.in
@@ -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