From 58a0b164f924166f017c30f2d93bd63e3351ba22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Mon, 12 Feb 2007 14:21:41 +0000 Subject: [PATCH] - redirect service script output to null (#224566) --- smartmontools.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/smartmontools.spec b/smartmontools.spec index aa3a75b..f4499cf 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 5.36 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 1 Group: System Environment/Base License: GPL @@ -67,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT %preun if [ "$1" = "0" ] ; then - /sbin/service smartd stop + /sbin/service smartd stop >/dev/null 2>&1 /sbin/chkconfig --del smartd fi exit 0 @@ -81,6 +81,9 @@ exit 0 %changelog +* Mon Feb 12 2007 Tomas Mraz - 1:5.36-7 +- redirect service script output to null (#224566) + * Sun Feb 11 2007 Florian La Roche - 1:5.36-6 - make sure the preun script does not fail