]> andersk Git - gssapi-openssh.git/commitdiff
o Probs with syntax in action() subroutine.
authorcphillip <cphillip>
Wed, 23 Jan 2002 14:03:27 +0000 (14:03 +0000)
committercphillip <cphillip>
Wed, 23 Jan 2002 14:03:27 +0000 (14:03 +0000)
setup/setup-openssh.pl

index 62416aa85e712df1d4c783986e874e8069b49c7d..ab42805a89f539ec97a865e93b84edbae447622d 100644 (file)
@@ -53,7 +53,7 @@ $xauth_path = "/usr/bin/X11/xauth";
 
 sub action
 {
-    my $command = @_;
+    my ($command) = @_;
 
     printf "$command\n";
 
@@ -91,7 +91,8 @@ sub runkeygen
     if ( ! -d "${sysconfdir}" )
     {
         print "Could not find ${sysconfdir} directory... creating\n";
-        mkdir($sysconfdir, mode);
+        mkdir($sysconfdir, 16877);
+        # 16877 should be 755, or drwxr-xr-x
     }
 
     print "Generating ssh keys (if necessary)...\n";
This page took 0.315639 seconds and 5 git commands to generate.