summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 9beb373b7..e6fe65ffa 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -94,6 +94,9 @@ create_key() {
94 echo -n $msg 94 echo -n $msg
95 ssh-keygen -q -f "$file" -N '' "$@" 95 ssh-keygen -q -f "$file" -N '' "$@"
96 echo 96 echo
97 if type restorecon >/dev/null 2>&1; then
98 restorecon "$file.pub"
99 fi
97 fi 100 fi
98} 101}
99 102