mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Change return value when no config file present
Former-commit-id: b560663960303b01466fb36f2e442926aa3b63b4
This commit is contained in:
parent
c8d9d79f0f
commit
0963092b50
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user