Merge pull request #1756 from dokku/josegonzalez-patch-1

Guard against invalid key file during installation
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-12-07 11:52:20 -05:00
commit 9001c1079b
1 file changed
+2
+2
View File
@@ -71,8 +71,10 @@ case "$1" in
if [ -z "${DEBCONF_RECONFIGURE}" ]; then if [ -z "${DEBCONF_RECONFIGURE}" ]; then
db_get "dokku/key_file" db_get "dokku/key_file"
if [ -f "$RET" ]; then
sshcommand acl-add dokku default < "$RET" sshcommand acl-add dokku default < "$RET"
fi fi
fi
;; ;;
*) *)