Change return value when no config file present

Former-commit-id: b560663960303b01466fb36f2e442926aa3b63b4
This commit is contained in:
poljvd 2013-10-10 09:51:18 +02:00
parent c8d9d79f0f
commit 0963092b50
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
// C++ includes
#include <csignal>
@ -66,7 +65,7 @@ int main(int argc, char** argv)
{
std::cout << "Missing required configuration file. Usage:" << std::endl;
std::cout << "hyperiond [config.file]" << std::endl;
return 0;
return 1;
}
const std::string configFile = argv[1];