Fixed %preun script fails when pandora_server or tentalce_server not running

(cherry picked from commit b794f69327)
This commit is contained in:
KIKUCHI Koichiro 2016-02-26 23:45:57 +09:00
parent ef3368e8a3
commit 7483d131e7
1 changed files with 2 additions and 2 deletions

View File

@ -141,8 +141,8 @@ if [ "$1" = "1" ]; then
exit 0
fi
/sbin/service pandora_server stop &>/dev/null
/sbin/service tentacle_serverd stop &>/dev/null
/sbin/service pandora_server stop >/dev/null 2>&1 || :
/sbin/service tentacle_serverd stop >/dev/null 2>&1 || :
/sbin/chkconfig --del pandora_server
/sbin/chkconfig --del tentacle_serverd