CharlieC3
3/29/2018 - 8:46 PM

Exit if variable is not set

#!/bin/bash

: ${test?Exiting because the var 'test' is not set}