fix notify command

This commit is contained in:
Michal Hlavinka 2011-02-17 17:14:06 +01:00
parent 098dac6bf5
commit 948f96b6bc

View File

@ -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 ||: