fix: invert check

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-05-12 19:04:50 -04:00
1 parent a717cb99a3
commit 6ca4813247
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ add_keys() {
dokku_log_fail "No key specified via file or pipe" dokku_log_fail "No key specified via file or pipe"
fi fi
if [[ -s "$KEY_FILE" ]]; then if [[ ! -s "$KEY_FILE" ]]; then
dokku_log_fail "Empty key was specified" dokku_log_fail "Empty key was specified"
fi fi