fix: invert check

This commit is contained in:
Jose Diaz-Gonzalez
2019-04-23 14:21:40 -04:00
parent a717cb99a3
commit 6ca4813247

View File

@@ -24,7 +24,7 @@ add_keys() {
dokku_log_fail "No key specified via file or pipe"
fi
if [[ -s "$KEY_FILE" ]]; then
if [[ ! -s "$KEY_FILE" ]]; then
dokku_log_fail "Empty key was specified"
fi