On Sat, Jan 11, 2020 at 12:00:41AM -0600, Rob Landley wrote: > How about just: > > for i in /root /var/root /; do [ -e $i ] && EXPECT=$i && break; done Looks fine.