X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/73a972b5affef724905e4ce4c4c916c48d145b34..81e02a8fc1aa079e1cb9448a23beba631b6fa807:/tools/salt-install/installer.sh?ds=sidebyside diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh index b042d1a835..4ce490421f 100755 --- a/tools/salt-install/installer.sh +++ b/tools/salt-install/installer.sh @@ -127,7 +127,7 @@ deploynode() { } loadconfig() { - if [[ -s ${CONFIG_FILE} && -s ${CONFIG_FILE}.secrets ]]; then + if ! [[ -s ${CONFIG_FILE} && -s ${CONFIG_FILE}.secrets ]]; then echo "Must be run from initialized setup dir, maybe you need to 'initialize' first?" fi source ${CONFIG_FILE}.secrets