Issue with custom agent installation
This commit is contained in:
parent
454e6120e4
commit
f4e0e9f799
|
@ -152,8 +152,8 @@ uninstall () {
|
|||
fi
|
||||
|
||||
# Stops the agent on uninstall
|
||||
if [ -f $PANDORA_BASE/etc/init.d/pandora_agent_daemon ]; then
|
||||
$PANDORA_BASE/etc/init.d/pandora_agent_daemon stop 12> /dev/null
|
||||
if [ -f /etc/init.d/pandora_agent_daemon ]; then
|
||||
/etc/init.d/pandora_agent_daemon stop 12> /dev/null
|
||||
else
|
||||
echo "$PANDORA_BASE/etc/init.d/pandora_agent_daemon not found to stop agent"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue