Hide the error output from column(1) unless --verbose is used

Fallout from 5e4e63a11b
This commit is contained in:
Debarshi Ray 2019-02-15 18:58:28 +01:00
parent 4cf58d5b72
commit 6d2c1f7e95

View file

@ -434,7 +434,7 @@ list_images()
--filter "label=com.redhat.component=fedora-toolbox" \
--format "{{.ID}} {{.Repository}}:{{.Tag}} {{.Created}}" 2>&42 \
| sed "s/ \{2,\}/\t/g" 2>&42 \
| column --separator $'\t' --table --table-columns "IMAGE ID,IMAGE NAME,CREATED")
| column --separator $'\t' --table --table-columns "IMAGE ID,IMAGE NAME,CREATED" 2>&42)
if [ "$output" != "" ]; then
echo -e "${LBC}Images created by toolbox${NC}"