From 0746e299d301b1f188aaf7a7dbc2d92559c78d5f Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Sat, 6 Jun 2009 01:52:49 +0000 Subject: Fixed 'unary operator expected' (bug #51364, #51464). --- cron-sh/security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh') diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 2e2ed98..17ebb4a 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -245,7 +245,7 @@ EOF } Notifylog() { - if [ ${NOTIFY_WARN} == yes ]; then + if [[ ${NOTIFY_WARN} == yes ]]; then message=${1} DBUS_SEND=`which dbus-send 2>/dev/null` if [ -x "$DBUS_SEND" ]; then -- cgit v1.2.1