From b3ad2fb990b193906c3243673ac15b056eb148dc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 17 May 2011 15:51:53 +0200 Subject: smart_event.conf: suppress stray output of "which" command Also, fix some typos in comments Signed-off-by: Denys Vlasenko --- src/daemon/smart_event.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/smart_event.conf b/src/daemon/smart_event.conf index e4b96b91..9c23862b 100644 --- a/src/daemon/smart_event.conf +++ b/src/daemon/smart_event.conf @@ -14,7 +14,7 @@ # when program selection code looks at this file. EVENT=post-create component=gnome-disk-utility - which skdump 2>/dev/null || exit 0 + which skdump >/dev/null 2>&1 || exit 0 for f in /dev/[sh]d[a-z]; do test -e "$f" || continue skdump "$f" @@ -22,7 +22,7 @@ EVENT=post-create component=gnome-disk-utility done >smart_data EVENT=post-create component=libatasmart - which skdump 2>/dev/null || exit 0 + which skdump >/dev/null 2>&1 || exit 0 for f in /dev/[sh]d[a-z]; do test -e "$f" || continue skdump "$f" @@ -30,7 +30,7 @@ EVENT=post-create component=libatasmart done >smart_data EVENT=post-create component=udisks - which skdump 2>/dev/null || exit 0 + which skdump >/dev/null 2>&1 || exit 0 for f in /dev/[sh]d[a-z]; do test -e "$f" || continue skdump "$f" -- cgit