Fix tincctl dump.
This commit is contained in:
parent
9be8980a2b
commit
e72e6febfe
1 changed files with 3 additions and 3 deletions
|
@ -734,6 +734,9 @@ static int cmd_dump(int argc, char *argv[]) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!connect_tincd())
|
||||||
|
return 1;
|
||||||
|
|
||||||
bool do_graph = false;
|
bool do_graph = false;
|
||||||
|
|
||||||
if(!strcasecmp(argv[1], "nodes"))
|
if(!strcasecmp(argv[1], "nodes"))
|
||||||
|
@ -754,9 +757,6 @@ static int cmd_dump(int argc, char *argv[]) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!connect_tincd())
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
if(do_graph)
|
if(do_graph)
|
||||||
printf("digraph {\n");
|
printf("digraph {\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue