From bc5b29dd6d37ce0058da250fab06f3487602b60f Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Mon, 29 Apr 2002 17:52:46 +0000 Subject: =?UTF-8?q?corrected=20alias=20files=20loop=20(J=EF=BF=BDr?= =?UTF-8?q?=EF=BF=BDme=20UZEL).=20CVS:=20---------------------------------?= =?UTF-8?q?-------------------------------------=20CVS:=20Enter=20Log.=20?= =?UTF-8?q?=20Lines=20beginning=20with=20`CVS:=20'=20are=20removed=20autom?= =?UTF-8?q?atically=20CVS:=20committing=20files:=20CVS:=20/home/flepied/wo?= =?UTF-8?q?rk/msec/cron-sh/security=5Fcheck.sh=20CVS:=20CVS:=20Type=20C-c?= =?UTF-8?q?=20C-c=20when=20done=20or=20C-c=20C-d=20to=20abort.=20CVS:=20--?= =?UTF-8?q?---------------------------------------------------------------?= =?UTF-8?q?-----?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron-sh/security_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh') diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 2ed31aa..ae6d6ca 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -229,7 +229,7 @@ fi list="/etc/aliases /etc/postfix/aliases" for file in ${list}; do if [[ -s ${file} ]]; then - grep -v '^#' /etc/aliases | grep '|' | while read line; do + grep -v '^#' ${file} | grep '|' | while read line; do printf "\t\t- ${line}\n" done > ${TMP} fi -- cgit v1.2.1