forked from evolix/evobackup
Add time unit for retention policy status display (bkctld status).
This commit is contained in:
parent
4195c3bea5
commit
58ebf9d2ef
|
@ -18,7 +18,7 @@ incs_policy="0"
|
||||||
if [ -r "${incs_policy_file}" ]; then
|
if [ -r "${incs_policy_file}" ]; then
|
||||||
days=$(grep "^\+" "${incs_policy_file}" | grep --count "day")
|
days=$(grep "^\+" "${incs_policy_file}" | grep --count "day")
|
||||||
months=$(grep "^\+" "${incs_policy_file}" | grep --count "month")
|
months=$(grep "^\+" "${incs_policy_file}" | grep --count "month")
|
||||||
incs_policy="${days}/${months}"
|
incs_policy="${days}d/${months}m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
status="OFF"
|
status="OFF"
|
||||||
|
|
Loading…
Reference in a new issue