Skip to content
Snippets Groups Projects
Commit 8e4e7c6e authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed: print help when no zone file is given.

parent 453539e8
Branches
Tags
No related merge requests found
......@@ -29,15 +29,15 @@ void interrupt_handle(int s)
int main( int argc, char **argv )
{
if (argc < 2) {
print_msg(LOG_ERR, "Usage: %s <filename1> [<filename2> ...] .\n",
argv[0]);
return -1;
}
// Open log
log_open(LOG_UPTO(LOG_ERR), LOG_MASK(LOG_ERR)|LOG_MASK(LOG_WARNING));
if (argc < 2) {
print_msg(LOG_ERR, "Usage: %s <filename1> [<filename2> ...] .\n",
argv[0]);
return -1;
}
int res = 0;
// Create server instance
......
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