Added -n to trapped