summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/fileshareset
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-09 11:35:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-09 11:35:21 +0000
commitf45b6bf7cc452ce98484263392134cfbf9d05400 (patch)
treea08343b017b4d29c51843c75a7501a0d98c3e305 /perl-install/standalone/fileshareset
parentefae24290f9d3035f8da7383fdb10862ae8a1d4c (diff)
downloaddrakx-f45b6bf7cc452ce98484263392134cfbf9d05400.tar
drakx-f45b6bf7cc452ce98484263392134cfbf9d05400.tar.gz
drakx-f45b6bf7cc452ce98484263392134cfbf9d05400.tar.bz2
drakx-f45b6bf7cc452ce98484263392134cfbf9d05400.tar.xz
drakx-f45b6bf7cc452ce98484263392134cfbf9d05400.zip
fix ugly typo (big thanks to John Madsen)
Diffstat (limited to 'perl-install/standalone/fileshareset')
-rwxr-xr-xperl-install/standalone/fileshareset2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset
index 3e8cfe78a..05b8f58d8 100755
--- a/perl-install/standalone/fileshareset
+++ b/perl-install/standalone/fileshareset
@@ -104,7 +104,7 @@ sub verify_mntpoint {
local ($_) = @_;
my $ok = 1;
$ok &&= m|^/|;
- $ok &&= !m|/../|;
+ $ok &&= !m|\Q/../|;
$ok &&= !m|[\0\n\r]|;
$ok &&= -d $_;
$ok &&= own($_);