]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- rel 6; fix start check auto/th/openssh-7.1p1-7
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 17 Nov 2015 17:30:35 +0000 (18:30 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 17 Nov 2015 17:30:35 +0000 (18:30 +0100)
openssh.spec
opensshd.init

index 905afa697aa741a4f3ce063a3488df5e0f54d6a1..2e5abc3f04b6750219999808df8246bea0df85c7 100644 (file)
@@ -46,7 +46,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       7.1p1
-Release:       6
+Release:       7
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
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.083986 seconds and 4 git commands to generate.