From 290e7fbdfe205859d0c836e293f6468f1fdc115a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 18 Dec 2012 12:48:33 +0000 Subject: restrictshell: remove "dynamic lookup" warnings --- modules/restrictshell/templates/membersh-conf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/restrictshell/templates') 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")) { -- cgit v1.2.1