diff options
author | Claudio Matsuoka <claudio@mandriva.com> | 2006-10-23 20:20:14 +0000 |
---|---|---|
committer | Claudio Matsuoka <claudio@mandriva.com> | 2006-10-23 20:20:14 +0000 |
commit | 3da90b377bdb3b3e29208bc9a9d4d3790c3aac65 (patch) | |
tree | e962f43fdedea767d2cd5287e71eebebefa5c091 | |
parent | 5655c9cbc362fe8c735382defc18bc3875d1d248 (diff) | |
download | iurt-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_command | 2 |
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"; |