summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/accounting
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/accounting')
-rwxr-xr-xetc/rc.d/accounting2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/accounting b/etc/rc.d/accounting
index 777555d..f2208e0 100755
--- a/etc/rc.d/accounting
+++ b/etc/rc.d/accounting
@@ -20,6 +20,8 @@ stop_cmd="accounting_stop"
accounting_start()
{
+ local _dir
+
_dir=`dirname "$accounting_file"`
if [ ! -d `dirname "$_dir"` ]; then
if ! mkdir -p "$_dir"; then
OpenPOWER on IntegriCloud