aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-06 01:52:49 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-06 01:52:49 +0000
commit0746e299d301b1f188aaf7a7dbc2d92559c78d5f (patch)
tree2448614aac677e8d8cebad1f1157644f0c78c83a /cron-sh
parent7acb9eb27a66c775f53f4a5bda46d2f88a0bddaf (diff)
downloadmsec-0746e299d301b1f188aaf7a7dbc2d92559c78d5f.tar
msec-0746e299d301b1f188aaf7a7dbc2d92559c78d5f.tar.gz
msec-0746e299d301b1f188aaf7a7dbc2d92559c78d5f.tar.bz2
msec-0746e299d301b1f188aaf7a7dbc2d92559c78d5f.tar.xz
msec-0746e299d301b1f188aaf7a7dbc2d92559c78d5f.zip
Fixed 'unary operator expected' (bug #51364, #51464).
Diffstat (limited to 'cron-sh')
-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