From ffd01d69757297e80a5007b83a2a68702fc04df3 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Tue, 26 Jan 2021 09:49:19 -0500 Subject: [PATCH] fix if statement for isntalling sshpass --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index da885c6b3..8a2cb714c 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -130,7 +130,7 @@ if [[ -f automation/$automation && $(basename $automation) == $automation ]]; th if [[ ! $is_iso ]]; then echo "Installing sshpass for automated testing." >> $setup_log 2>&1 if [ "$OS" == ubuntu ]; then - if wait_for_apt; then apt-get -y install sshpass >> $setup_log 2>&1 + if wait_for_apt; then apt-get -y install sshpass >> $setup_log 2>&1; else exit 1; fi else yum -y install sshpass >> $setup_log 2>&1 fi