fix: invert check
This commit is contained in:
1 parent
a717cb99a3
commit
6ca4813247
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user