title: Bash Trap SIGINT Multiple Times Doesn't Work
body: <p>I don't know what's wrong but this script doesn't work.
  It should be always goes back to menu everytime I press CTRL+C.</p>
  
  <pre><code>#!/bin/bash
  
  func_info()
  {
      clear
      echo "This is info page."
      read -p "Press CTRL+C to back to menu or press enter exit..."
      exit
  }
  
  func_menu()
  {
      clear
      trap - SIGINT
      echo "This is menu page."
      read -p "Press enter to go to info page..."
      trap func_menu SIGINT
      func_info
  }
  
  func_menu
  </code></pre>
  
  <p>It works for the first CTRL+C but the second times it just doesn't works.</p>
  
  <p>I'm new to this so please don't judge me ;)</p>
  
  <p>Any helps appreciated :)
  Thanks.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Actually, I found this works</p>
  
  <pre><code>#!/bin/bash
  
  func_info()
  {
      clear
      echo "This is info page."
      read -p "Press CTRL+C to back to menu or press enter exit..."
      exit
  }
  
  func_menu()
  {
      clear
      echo "This is menu page."
      read -p "Press enter to go to info page..."
      ( trap exit SIGINT; func_info )
      func_menu
  }
  
  func_menu
  </code></pre>
  
  <p>But is that OK?</p>