bash not playing nice with this flag