aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Matsuoka <claudio@mandriva.com>2006-10-23 20:20:14 +0000
committerClaudio Matsuoka <claudio@mandriva.com>2006-10-23 20:20:14 +0000
commit3da90b377bdb3b3e29208bc9a9d4d3790c3aac65 (patch)
treee962f43fdedea767d2cd5287e71eebebefa5c091
parent5655c9cbc362fe8c735382defc18bc3875d1d248 (diff)
downloadiurt-3da90b377bdb3b3e29208bc9a9d4d3790c3aac65.tar
iurt-3da90b377bdb3b3e29208bc9a9d4d3790c3aac65.tar.gz
iurt-3da90b377bdb3b3e29208bc9a9d4d3790c3aac65.tar.bz2
iurt-3da90b377bdb3b3e29208bc9a9d4d3790c3aac65.tar.xz
iurt-3da90b377bdb3b3e29208bc9a9d4d3790c3aac65.zip
Fixed glob character parsing regexp in sub rm.
-rw-r--r--iurt_root_command2
1 files changed, 1 insertions, 1 deletions
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";