exit 1 if command fails