Guard against invalid key file during installation

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-12-07 11:52:14 -05:00
1 parent b4e56c43fc
commit ab2721bc37
1 file changed
+3 -1
+3 -1
View File
@@ -71,7 +71,9 @@ case "$1" in
if [ -z "${DEBCONF_RECONFIGURE}" ]; then if [ -z "${DEBCONF_RECONFIGURE}" ]; then
db_get "dokku/key_file" db_get "dokku/key_file"
sshcommand acl-add dokku default < "$RET" if [ -f "$RET" ]; then
sshcommand acl-add dokku default < "$RET"
fi
fi fi
;; ;;