summaryrefslogtreecommitdiff
path: root/src/KeepRunningCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/KeepRunningCommand.cc')
-rw-r--r--src/KeepRunningCommand.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/KeepRunningCommand.cc b/src/KeepRunningCommand.cc
index f917d5e1..995f3027 100644
--- a/src/KeepRunningCommand.cc
+++ b/src/KeepRunningCommand.cc
@@ -49,8 +49,7 @@ KeepRunningCommand::~KeepRunningCommand() {}
bool KeepRunningCommand::execute()
{
- if(!e_->getRequestGroupMan()->getKeepRunning() ||
- e_->isHaltRequested()) {
+ if(e_->isHaltRequested()) {
return true;
}
e_->addCommand(this);