title: Bash Script Calls another bash script and waits for it to complete before proceeding
body: <p>I have 1 bash script that runs another bash script, however the first bashscript isn't waiting for the second one to complete before proceeding, how can I force it to wait?</p>
  
  <p>For example:</p>
  
  <pre><code>#!/bin/bash
  # first.sh
  
  #call to secondary script
  sh second.sh
  echo "second.sh has completed"
  
  echo "continuing with the rest of first.sh..."
  </code></pre>
  
  <p>The way it is now, it will run second.sh, and continue on, without waiting for second.sh to complete.</p>