Permalink
Browse files

Use signal names (not numbers) in `trap'.

  • Loading branch information...
1 parent a7de917 commit 537b582313b2898b44a517d996e812b5b08fbf0d @CasperVector committed Apr 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cdm
View
@@ -33,8 +33,8 @@ info="\e[1;34m==>\e[1;37m"
error="\e[1;31m==>\e[1;37m"
success="\e[1;32m==>\e[1;37m"
reset="\e[0m"
-# Ignore SIGINT (^C) and SIGTSTP (^Z)
-trap "" 2 20
+
+trap '' SIGINT SIGTSTP
dialogrc=${dialogrc:-}
userclientrc=$HOME/.xinitrc

0 comments on commit 537b582

Please sign in to comment.