Merge pull request #1756 from dokku/josegonzalez-patch-1
Guard against invalid key file during installation
This commit is contained in:
4
debian/postinst
vendored
4
debian/postinst
vendored
@@ -71,7 +71,9 @@ case "$1" in
|
||||
|
||||
if [ -z "${DEBCONF_RECONFIGURE}" ]; then
|
||||
db_get "dokku/key_file"
|
||||
sshcommand acl-add dokku default < "$RET"
|
||||
if [ -f "$RET" ]; then
|
||||
sshcommand acl-add dokku default < "$RET"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user