trapping sighup in xmenu.sh
authorphillbush <phillbush@cock.li>
Tue, 19 May 2020 13:22:24 +0000 (10:22 -0300)
committerphillbush <phillbush@cock.li>
Tue, 19 May 2020 13:22:24 +0000 (10:22 -0300)
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