mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed %postun script fails when pandora_agent isn't running
This commit is contained in:
parent
c71e75045e
commit
a036b0627f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user