Commit 1b7da117 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

If script shuts down INDI then no need to check for user option regarding...

If script shuts down INDI then no need to check for user option regarding stopping Ekos after shutdown since INDI termination will stop Ekos
parent 42a91f99
......@@ -2325,7 +2325,7 @@ bool Scheduler::checkShutdownState()
if (shutdownScriptURL.isEmpty() == false)
{
// Need to stop Ekos now before executing script if it happens to stop INDI
if (ekosState != EKOS_IDLE && Options::stopEkosAfterShutdown() && Options::shutdownScriptTerminatesINDI())
if (ekosState != EKOS_IDLE && Options::shutdownScriptTerminatesINDI())
{
stopEkos();
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment