]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - bootstrap.sh
Add new screen
[max/saltfiles.git] / bootstrap.sh
index 9cad37c2ee204ebd254b81759284944a6c6ece4e..1f1b001dc32f455a9090efc987865de15068e369 100644 (file)
@@ -8,9 +8,7 @@ install_salt() {
        sudo sh "${bootstrap}" -P
 }
 
-if ! which $SALT_CMD; then
-       install_salt
-fi
+which $SALT_CMD > /dev/null || install_salt
 
 if [[ ! $1 ]]; then
        sudo $SALT_CMD \