Commit 57cd4853 authored by Volodymyr Melnyk's avatar Volodymyr Melnyk

Fix stuff

parent 4b79ab33
......@@ -48,15 +48,15 @@ if [[ ! -f "${logrotate_config}" ]]; then
fi
io_stats_lock_dir="${_lock_dir}"
if [[ ! -f "${io_stats_lock_dir}" ]]; then
if [[ ! -d "${io_stats_lock_dir}" ]]; then
_log 1 "Creating the lock directory"
mkdir -p "${io_stats_lock_dirl}"
mkdir -p "${io_stats_lock_dir}"
chown root:nobody "${io_stats_lock_dir}"
chmod 0770 "${io_stats_lock_dir}"
fi
io_stats_spool_dir="${_spool_dir}/io"
if [[ ! -f "${io_stats_spool_dir}" ]]; then
if [[ ! -d "${io_stats_spool_dir}" ]]; then
_log 1 "Creating the spool directory"
mkdir -p "${io_stats_spool_dir}"
chown root:nobody "${io_stats_spool_dir}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment