mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed %preun script fails when pandora_server or tentalce_server not running
(cherry picked from commit b794f6932758e8dbe2148a78afa80a442bfb288c)
This commit is contained in:
parent
ef3368e8a3
commit
7483d131e7
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user