As far as the exit stuff goes, I realized that it could be written better as:
Except that will exit regardless, which I dont think is the objective. I prefer
-e "/etc/mtab" or die;
First they ignore you, then they laugh at you, then they fight you, then you win.