use if then

I always forgot && can return exit status 1