Redirect missing key_file warning to stderr

This commit is contained in:
Tan Jay Jun
2019-10-23 10:54:56 +08:00
parent 721b464de9
commit 58a7e535dd

2
debian/preinst vendored
View File

@@ -61,7 +61,7 @@ case "$1" in
db_get "dokku/key_file"
if [ ! -f "$RET" ]; then
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"
fi
fi