aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-30 11:23:00 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-30 11:23:00 +0000
commit14f69898d039cf514da2b841421298b6c93a6c09 (patch)
treeea76c3541a6e7fe734447a39f55aab620c49576d
parentede53d74fee082930fe052950e32980c902f1fa1 (diff)
downloadmsec-14f69898d039cf514da2b841421298b6c93a6c09.tar
msec-14f69898d039cf514da2b841421298b6c93a6c09.tar.gz
msec-14f69898d039cf514da2b841421298b6c93a6c09.tar.bz2
msec-14f69898d039cf514da2b841421298b6c93a6c09.tar.xz
msec-14f69898d039cf514da2b841421298b6c93a6c09.zip
Fixed 'unary operator expected' (bug #51364, #51464).
-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