Fixed error in function die: correctly check if quiet is no 0