Commit 7cc313ab authored by Laurent Belcour's avatar Laurent Belcour

[Softs] Fix behaviour when no in/out plugin are found.

parent 267ad281
...@@ -131,7 +131,7 @@ int main(int argc, char** argv) ...@@ -131,7 +131,7 @@ int main(int argc, char** argv)
std::cout << "<<INFO>> data will be outputed to ALTA format" << std::endl; std::cout << "<<INFO>> data will be outputed to ALTA format" << std::endl;
} }
if(!d_in && !d_out) if(!d_in || !d_out)
{ {
std::cerr << "<<ERROR>> cannot import or export data" << std::endl ; std::cerr << "<<ERROR>> cannot import or export data" << std::endl ;
return 1; return 1;
......
Markdown is supported
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