]> andersk Git - gssapi-openssh.git/commitdiff
o Check for localstatedir before creating the PID_FILE.
authorcphillip <cphillip>
Tue, 14 May 2002 19:25:56 +0000 (19:25 +0000)
committercphillip <cphillip>
Tue, 14 May 2002 19:25:56 +0000 (19:25 +0000)
setup/SXXsshd.in

index 69c1593712ebd4f6e226f010ae68bf3025756987..54cbeb01ff3a8f369d1806b714ebac6d3c8ecf41 100644 (file)
@@ -16,6 +16,9 @@ case "$1" in
             if [ $? -ne 0 ] ; then
                 echo "Failed to start up GSI-OpenSSH sshd server"
             else
+                if [ ! -d $localstatedir ]; then
+                    mkdir -p $localstatedir
+                fi
                 echo $! > $PID_FILE
             fi
         else
This page took 0.044598 seconds and 5 git commands to generate.