mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed %preun script fails when pandora_server or tentalce_server not running
This commit is contained in:
parent
1a084c1b38
commit
b794f69327
@ -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