Protect scripts from exiting if egrep returns error on no match