signal on bash errors