Merge pull request #3756 from jayjun/stderr

Redirect missing key_file warning to stderr
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-10-22 23:12:27 -04:00
commit 81ab56d7ee
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ case "$1" in
db_get "dokku/key_file" db_get "dokku/key_file"
if [ ! -f "$RET" ]; then if [ ! -f "$RET" ]; then
echo "Error: keyfile '$RET' not found." >&2 echo "Error: keyfile '$RET' not found." >&2
echo " To deploy, you will need to generate a keypair and add with 'dokku ssh-keys:add'." echo " To deploy, you will need to generate a keypair and add with 'dokku ssh-keys:add'." >&2
db_reset "dokku/key_file" db_reset "dokku/key_file"
fi fi
fi fi