Revision 0cc9ce5f src/controlledconnection.cpp
src/controlledconnection.cpp | ||
---|---|---|
87 | 87 |
controlInput->isReady(s)); |
88 | 88 |
} |
89 | 89 |
|
90 |
std::string ControlledConnection::getType() const |
|
91 |
{ |
|
92 |
return "ControlledConnection"; |
|
93 |
} |
|
94 |
|
|
90 | 95 |
bool ControlledConnection::processReady(const Select &s) |
91 | 96 |
{ |
92 | 97 |
if (!Connection::processReady(s)) |
... | ... | |
237 | 242 |
::toString(words.size() - 1) + ")\n"); |
238 | 243 |
else { |
239 | 244 |
int job = toInt(words[1]); |
240 |
if (!scheduler->remove(job)) |
|
245 |
if (!scheduler->remove(job) && !cm->removeJob(job))
|
|
241 | 246 |
writeControl("ERROR REMOVEJOB NO SUCH JOB\n"); |
242 | 247 |
else |
243 | 248 |
writeControl("OK\n"); |
Also available in: Unified diff