title: If bash variable is 1 then run else do not
body: <p>I want to do something like this:</p>
  
  <pre><code>PROD=1
  
  if [ "$PROD" -eq "1" ]
  # Code
  fi
  </code></pre>
  
  <p>I'm new to bash, but can anyone explain please why this code might fail? I am trying to only run that block of code if the variable PROD is defined as the value 1.</p>
  
  <p>Thank you</p>