diff options
author | Anthony Donnelly <Amzo@archbsd.com> | 2015-03-04 09:07:12 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-03-23 14:06:52 -0500 |
commit | be497229b64613ebfbc4073985107a275d49f78e (patch) | |
tree | e12abedd5fde8ff9775734948f2884bc0cfb9386 /init.d/savecore.in | |
parent | e16b7183e90090ecee539697508582d208859a8b (diff) |
Fix savecore service on FreeBSD
savecore -C only needs the dumpdevice otherwise it causes an error on startup.
This fixes #40.
Diffstat (limited to 'init.d/savecore.in')
-rw-r--r-- | init.d/savecore.in | 2 |
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 |