Skip to content
Snippets Groups Projects
Commit 5252e900 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Change the order for setting capabilities and reading configuration

files for cta-tape-label.
parent 7e449f8f
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,10 @@ int TapeLabelCmd::exceptionThrowingMain(const int argc, char *const *const argv)
params.push_back(cta::log::Param("force", boolToStr(m_force)));
m_log(cta::log::INFO, "Label session started", params);
readAndSetConfiguration(getUsername(), cmdLineArgs.m_vid, cmdLineArgs.m_oldLabel);
const std::string capabilities("cap_sys_rawio+ep");
setProcessCapabilities(capabilities);
readAndSetConfiguration(getUsername(), cmdLineArgs.m_vid, cmdLineArgs.m_oldLabel);
m_catalogue->checkTapeForLabel(m_vid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment