Fix status header

This commit is contained in:
3wc 2020-11-18 01:06:07 +02:00
parent 059968a8cf
commit cb2d563ea0

2
abra
View File

@ -475,7 +475,7 @@ sub_app_list (){
for i in "${!ENV_FILES[@]}"; do for i in "${!ENV_FILES[@]}"; do
# Output header inside the loop, so it's included in the pipe to `column` # Output header inside the loop, so it's included in the pipe to `column`
if [ "$i" == 0 ]; then if [ "$i" == 0 ]; then
printf " DOMAIN\tAPP\tSERVER%s%s\n" "${STATUS:+ }" "${STATUS}" printf " DOMAIN\tAPP\tSERVER%s%s\n" "${STATUS:+ }" "${STATUS:+STATUS}"
printf " --\t--\t--%s\n" "${STATUS:+ --}" printf " --\t--\t--%s\n" "${STATUS:+ --}"
fi fi