Commit c747caec authored by Aleksandr Konstantinov's avatar Aleksandr Konstantinov
Browse files

Merge branch 'bug_3880' into 'master'

Fix for previous commit (Fixes BUGZ-3880)

See merge request !892
parents 34c283d3 4717c5c2
......@@ -185,8 +185,9 @@ if [ ! -d `dirname "$LOGFILE"` ]; then
fi
fi
if [ ! -z "$USERNAME" ] ; then
chown "$LOGFILE"
chown "$USERNAME" "$LOGFILE"
if [ -f "$LOGFILE" ] ; then
chown "$USERNAME" "$LOGFILE"
fi
fi
check_cert
......
Supports Markdown
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