Fix default value for user and group…
This commit is contained in:
parent
d1b2bc5e48
commit
bffe5b0a6e
|
@ -103,6 +103,18 @@ define_vars() { # {{{
|
|||
retention_time="${DEFAULT_RETENTION_TIME}"
|
||||
fi
|
||||
## }}}
|
||||
## If user_bkp_dir wasn't defined {{{
|
||||
if [ -z "${user_bkp_dir}" ]; then
|
||||
## Use default user as owner of backup files
|
||||
user_bkp_dir="${DEFAULT_USER}"
|
||||
fi
|
||||
## }}}
|
||||
## If group_bkp_dir wasn't defined {{{
|
||||
if [ -z "${group_bkp_dir}" ]; then
|
||||
## Use default group for backup files
|
||||
group_bkp_dir="${DEFAULT_GROUP}"
|
||||
fi
|
||||
## }}}
|
||||
|
||||
}
|
||||
# }}}
|
||||
|
|
Loading…
Reference in New Issue