aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-12-18 12:48:33 +0000
committerNicolas Vigier <boklm@mageia.org>2012-12-18 12:48:33 +0000
commit290e7fbdfe205859d0c836e293f6468f1fdc115a (patch)
treeb74660e1ab6aeb79aa8ae1fb39b94debdb6ebc70 /modules/restrictshell
parentdc5548977b2bf0e31b5a730ceab8b5e49bffde91 (diff)
downloadpuppet-290e7fbdfe205859d0c836e293f6468f1fdc115a.tar
puppet-290e7fbdfe205859d0c836e293f6468f1fdc115a.tar.gz
puppet-290e7fbdfe205859d0c836e293f6468f1fdc115a.tar.bz2
puppet-290e7fbdfe205859d0c836e293f6468f1fdc115a.tar.xz
puppet-290e7fbdfe205859d0c836e293f6468f1fdc115a.zip
restrictshell: remove "dynamic lookup" warnings
Diffstat (limited to 'modules/restrictshell')
-rwxr-xr-xmodules/restrictshell/templates/membersh-conf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/restrictshell/templates/membersh-conf.pl b/modules/restrictshell/templates/membersh-conf.pl
index ea7d2957..e7be4266 100755
--- a/modules/restrictshell/templates/membersh-conf.pl
+++ b/modules/restrictshell/templates/membersh-conf.pl
@@ -11,7 +11,7 @@ $bin_rsync = "/usr/bin/rsync";
$regexp_rsync = "^rsync --server";
$regexp_dir_rsync = "^/.*";
-$bin_sftp = "<%= lib_dir %>/ssh/sftp-server";
+$bin_sftp = "<%= @lib_dir %>/ssh/sftp-server";
$regexp_sftp = "^(/usr/lib{64,}/ssh/sftp-server|/usr/lib/sftp-server|/usr/libexec/sftp-server|/usr/lib/openssh/sftp-server)";
foreach my $f (glob("/etc/membersh-conf.d/allow_*pl")) {