mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Fix unbound variable in the tests script.
This commit is contained in:
parent
3369cf8b3d
commit
6e2ec45800
1 changed files with 2 additions and 2 deletions
|
@ -17,6 +17,8 @@
|
|||
|
||||
set -o nounset # Treat unset variables as an error
|
||||
|
||||
# Find out the available columns on our tty
|
||||
COLUMNS=$(tput cols || 80)
|
||||
|
||||
if [ $(whoami) != "root" ] ; then
|
||||
title="You need to run this script as root."
|
||||
|
@ -30,8 +32,6 @@ fi
|
|||
# Change to the scripts parent directory
|
||||
cd $(dirname $0)
|
||||
|
||||
# Find out the available columns on our tty
|
||||
COLUMNS=$(tput cols || 80)
|
||||
|
||||
|
||||
title_echo() {
|
||||
|
|
Loading…
Add table
Reference in a new issue