From be497229b64613ebfbc4073985107a275d49f78e Mon Sep 17 00:00:00 2001 From: Anthony Donnelly Date: Wed, 4 Mar 2015 09:07:12 +0000 Subject: [PATCH] Fix savecore service on FreeBSD savecore -C only needs the dumpdevice otherwise it causes an error on startup. This fixes #40. --- init.d/savecore.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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