aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cron-sh/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh
index a099d83..9555033 100644
--- a/cron-sh/functions.sh
+++ b/cron-sh/functions.sh
@@ -78,7 +78,7 @@ Filter() {
else
# get the rules
EXCEPTIONS=""
- for except in $(cat $exceptions | sed -e "/^$RULE /!d; s/^$RULE \(.*\)/\1/g"); do
+ for except in $(cat $exceptions | sed -e "/^\($RULE\|\*\) /!d; s/^\($RULE\|\*\) \(.*\)/\2/g"); do
exc=${except//\//\\\/}
EXCEPTIONS="$EXCEPTIONS -e /${exc}/d"
done