Commit c1155150 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Fixed buggy typo

parent 02f3509e
......@@ -129,7 +129,7 @@ void cta::objectstore::TapePool::removeTapeAndCommit(const std::string& vid) {
<< vid << " found: " << t.getVid();
throw WrongTape(err.str());
}
if(t.isEmpty()) {
if(!t.isEmpty()) {
throw exception::Exception("Cannot delete the tape: it has queued retrieve jobs");
}
// We can now delete the tape
......
Supports Markdown
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