campaignd: return proper exit code

This commit is contained in:
loonycyborg 2021-11-09 01:06:12 +03:00
parent e21e025519
commit ff489be529
No known key found for this signature in database
GPG key ID: 6E8233FAB8F26D61

View file

@ -1947,9 +1947,7 @@ int run_campaignd(int argc, char** argv)
//
// Run the server
//
campaignd::server(config_file, port).run();
return 0;
return campaignd::server(config_file, port).run();
}
int main(int argc, char** argv)