TODO: deal with empty lines

This commit is contained in:
Jérémy Lecour 2022-03-18 15:11:01 +01:00 committed by Jérémy Lecour
parent 595be40c38
commit 8330918aad

View file

@ -26,6 +26,9 @@ for jail_name in $("${LIBDIR}/bkctld-list"); do
# read each line in jail configuration
while read line; do
## TODO
# deal with empty lines
# inc date in ISO format
inc_iso=$(relative_date "${line}")
# inc date in seconds from epoch