Redirect missing key_file warning to stderr
This commit is contained in:
1 parent
721b464de9
commit
58a7e535dd
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user