]> git.pld-linux.org Git - packages/openssh.git/blobdiff - opensshd.init
- rel 6; fix start check
[packages/openssh.git] / opensshd.init
index 9e76029f7a1991928e53fe30d4233f912e4791a7..fe09962804e874f80f8c4aa76b3eb5772e065cf2 100755 (executable)
@@ -56,7 +56,7 @@ start() {
 
        checkconfig
 
-       if [ ! -s /etc/ssh/ssh_host_key ]; then
+       if [ "$(echo /etc/ssh/ssh_host*key)" = "/etc/ssh/ssh_host*key" ]; then
                msg_not_running "OpenSSH"
                nls "No SSH host key found! You must run \"%s init\" first." "$0"
                exit 1
This page took 0.032897 seconds and 4 git commands to generate.