# See file doc comment for details.
dlog_init() {
local __oldumask
- # Skip initialization if it's already done.
- [ -n "$maxloglvl" ] && return 0
-
local ret=0; local errmsg
-
[ -z "$stdloglvl" ] && stdloglvl=4
[ -z "$sysloglvl" ] && sysloglvl=0
[ -z "$kmsgloglvl" ] && kmsgloglvl=0
+ # Skip initialization if it's already done.
+ [ -n "$maxloglvl" ] && return 0
if [ -z "$fileloglvl" ]; then
[ -w "$logfile" ] && fileloglvl=4 || fileloglvl=0