diff --git a/src/FileLoader.cpp b/src/FileLoader.cpp index cb3a45204..2012b20fc 100644 --- a/src/FileLoader.cpp +++ b/src/FileLoader.cpp @@ -54,16 +54,14 @@ long load_file(Detector& /* desc */, int argc, char** argv) // if file or url is empty, do nothing if (file.empty()) { printout(WARNING, "FileLoader", "no file specified"); - return 0; } if (url.empty()) { printout(WARNING, "FileLoader", "no url specified"); - return 0; } EnsureFileFromURLExists(url, file, cache, cmd); - return 0; + return 1; } #ifdef EPIC_ECCE_LEGACY_COMPAT