summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-05-17 15:51:53 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-05-17 15:51:53 +0200
commitb3ad2fb990b193906c3243673ac15b056eb148dc (patch)
treef95770c44e6fe5c36bd480239ab1dfe15af265fa /src/daemon
parentda8bc03e7da479c42969f896f6191d04cd462df3 (diff)
downloadabrt-b3ad2fb990b193906c3243673ac15b056eb148dc.zip
abrt-b3ad2fb990b193906c3243673ac15b056eb148dc.tar.gz
abrt-b3ad2fb990b193906c3243673ac15b056eb148dc.tar.xz
smart_event.conf: suppress stray output of "which" command
Also, fix some typos in comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/smart_event.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/smart_event.conf b/src/daemon/smart_event.conf
index e4b96b9..9c23862 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"