Create info() and warn() for cleaner print statements.

This commit is contained in:
Chris Wells
2020-11-25 21:19:08 -05:00
parent 3c79e1d82b
commit 8b4d18f8f3
26 changed files with 118 additions and 110 deletions

View File

@@ -65,7 +65,7 @@ validate_user() {
}
for _jail in ${JAILS}; do
echo -e "${COLOR_GREEN}[${_jail}]:${COLOR_RESET}"
info "[${_jail}]:"
if [ -n "${USER}" ]; then
validate_user
else