mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed %postun script fails when pandora_agent isn't running
(cherry picked from commit a036b0627fa59e1d7185e7d28627edc4027c556e)
This commit is contained in:
parent
5679281bae
commit
1e52fc899a
@ -114,7 +114,7 @@ if [ "$1" = "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
/sbin/chkconfig --del pandora_agent_daemon
|
/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
|
rm /etc/init.d/pandora_agent_daemon
|
||||||
/usr/sbin/userdel pandora
|
/usr/sbin/userdel pandora
|
||||||
rm -Rf /etc/pandora/pandora_agent.conf
|
rm -Rf /etc/pandora/pandora_agent.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user