summaryrefslogtreecommitdiff
path: root/support-files/rpm/server-preun.sh
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/rpm/server-preun.sh')
-rw-r--r--support-files/rpm/server-preun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-preun.sh b/support-files/rpm/server-preun.sh
index 1d733a7d899..038f601f43c 100644
--- a/support-files/rpm/server-preun.sh
+++ b/support-files/rpm/server-preun.sh
@@ -9,7 +9,7 @@ if [ $1 = 0 ] ; then
%{_sysconfdir}/init.d/mysql stop > /dev/null
fi
if [ -x /sbin/chkconfig ] ; then
- /sbin/chkconfig --del mysql > /dev/null 2>&1
+ /sbin/chkconfig --del mysql > /dev/null 2>&1 || :
fi
fi