Skip to content

Commit 0c67264

Browse files
committed
[Change] modify cron.dail to use egrep instead of grep
1 parent 4c19c35 commit 0c67264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cron.daily

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [ "$autoupdate_signatures" == "1" ]; then
6060
fi
6161

6262
# if we're running inotify monitoring, send daily hit summary
63-
if [ "$(ps -A --user root -o "cmd" | grep maldetect | grep inotifywait)" ]; then
63+
if [ "$(ps -A --user root -o "cmd" | egrep maldetect | egrep inotifywait)" ]; then
6464
$inspath/maldet --monitor-report >> /dev/null 2>&1
6565
else
6666
if [ -d "/home/virtual" ] && [ -d "/usr/lib/opcenter" ]; then

0 commit comments

Comments
 (0)