Skip to content
Snippets Groups Projects
Commit 35545737 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing handling for latest changes in checksum serialization.

parent 2f9b03b1
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ cta::Checksum::Checksum(): m_type(CHECKSUMTYPE_NONE) { }
cta::Checksum::Checksum(const std::string& url) {
if (url.empty()) {
if (url.empty() || url == "-") {
return;
}
castor::tape::utils::Regex re("^adler32:0[Xx]([[:xdigit:]]+)$");
......
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