trapping sighup in xmenu.sh
[xmenu] / xmenu.sh
index abd9a41..ff145d4 100755 (executable)
--- a/xmenu.sh
+++ b/xmenu.sh
@@ -1,5 +1,8 @@
 #!/bin/sh
 
 #!/bin/sh
 
+# ignore hup signal
+trap "" 1 15
+
 cat <<EOF | xmenu | sh &
 Applications
        Web Browser     firefox
 cat <<EOF | xmenu | sh &
 Applications
        Web Browser     firefox