aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-09-29 13:34:21 +0000
committerFlorin Grad <florin@mandriva.com>2001-09-29 13:34:21 +0000
commit2552b07b701cd1bf7f8d227d6109e95c0bf72327 (patch)
tree66c821d255b3478a3350229e8edda948ec7bb657
parentf60d45b47ec8a8976d6f047c72a667e14306944e (diff)
downloadmsec-2552b07b701cd1bf7f8d227d6109e95c0bf72327.tar
msec-2552b07b701cd1bf7f8d227d6109e95c0bf72327.tar.gz
msec-2552b07b701cd1bf7f8d227d6109e95c0bf72327.tar.bz2
msec-2552b07b701cd1bf7f8d227d6109e95c0bf72327.tar.xz
msec-2552b07b701cd1bf7f8d227d6109e95c0bf72327.zip
bring back the or print in CleanRules
-rw-r--r--init-sh/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index dcdb62f..544442b 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -94,7 +94,7 @@ OLD_CleanRules() {
CleanRules() {
echo -en "\t- Cleaning msec appended line in $1 : "
- perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... //' $1
+ perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1
echo "done."
}