diff options
Diffstat (limited to 'debian/openssh-server.preinst')
-rw-r--r-- | debian/openssh-server.preinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.preinst b/debian/openssh-server.preinst index e6c150ba5..43c4b57f9 100644 --- a/debian/openssh-server.preinst +++ b/debian/openssh-server.preinst | |||
@@ -118,7 +118,7 @@ EOF | |||
118 | # case the key is encrypted, which we need to fix | 118 | # case the key is encrypted, which we need to fix |
119 | chmod 600 $key | 119 | chmod 600 $key |
120 | ssh-keygen -u -f $key >/dev/null | 120 | ssh-keygen -u -f $key >/dev/null |
121 | if type restorecon >/dev/null 2>&1; then | 121 | if which restorecon >/dev/null 2>&1; then |
122 | restorecon "$key.pub" | 122 | restorecon "$key.pub" |
123 | fi | 123 | fi |
124 | } | 124 | } |