aboutsummaryrefslogtreecommitdiffstats
path: root/iurt_root_command
diff options
context:
space:
mode:
Diffstat (limited to 'iurt_root_command')
-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";