summaryrefslogtreecommitdiffstats
path: root/src/daemon/smart_event.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/smart_event.conf')
-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 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"