#!/bin/bash echo "" # That line makes the magic with second workaround [ "$p_close" == "True" ] && echo '' && exit echo "" echo "