Fixed %postun script fails when pandora_agent isn't running

(cherry picked from commit a036b0627f)
This commit is contained in:
KIKUCHI Koichiro 2016-02-18 05:28:27 +09:00 committed by KIKUCHI Koichiro
parent 5679281bae
commit 1e52fc899a
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ if [ "$1" = "1" ]; then
fi
/sbin/chkconfig --del pandora_agent_daemon
/etc/init.d/pandora_agent_daemon stop
/etc/init.d/pandora_agent_daemon stop >/dev/null 2>&1 || :
rm /etc/init.d/pandora_agent_daemon
/usr/sbin/userdel pandora
rm -Rf /etc/pandora/pandora_agent.conf