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