aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-sh/security_check.sh2
1 files changed, 1 insertions, 1 deletions
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