From 948f96b6bc00c045b309d69a2bd3980de6448d18 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Thu, 17 Feb 2011 17:14:06 +0100 Subject: [PATCH] fix notify command --- smartdnotify | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smartdnotify b/smartdnotify index 664b8a1..b03ae26 100644 --- a/smartdnotify +++ b/smartdnotify @@ -4,6 +4,6 @@ echo "$SMARTD_MESSAGE" | mail -s "$SMARTD_FAILTYPE" "$SMARTD_ADDRESS" # Notify desktop user -/usr/bin/notify-send -t 0 "WARNING: Your hard drive is failing" -"Description: -$SMARTD_MESSAGE" +/usr/bin/notify-send -t 0 "WARNING: Your hard drive is failing" "Description: +$SMARTD_MESSAGE" >/dev/null 2>&1 ||: +