commit: be497229b64613ebfbc4073985107a275d49f78e
Author: Anthony Donnelly <Amzo <AT> archbsd <DOT> com>
AuthorDate: Wed Mar 4 09:07:12 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Mar 23 19:06:52 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=be497229
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 b1b6ca3..cb00564 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