From 3da90b377bdb3b3e29208bc9a9d4d3790c3aac65 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Mon, 23 Oct 2006 20:20:14 +0000 Subject: Fixed glob character parsing regexp in sub rm. --- iurt_root_command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iurt_root_command b/iurt_root_command index 292906a..c88a932 100644 --- a/iurt_root_command +++ b/iurt_root_command @@ -197,7 +197,7 @@ sub rm { print {$run->{LOG}} "$program_name: removal of $f forbidden\n"; $ok = 0 } else { - if ($f =~ /\*?/) { + if ($f =~ /\*\?/) { foreach my $file (glob $f) { if ($f =~ m,$unauthorized,) { print {$run->{LOG}} "$program_name: removal of $f forbidden\n"; -- cgit v1.2.1