Fixed deinit for charon --version.
This commit is contained in:
1 parent
52bff307e1
commit
a1f90c7a85
1 file changed
+2
-1
+2
-1
@@ -340,7 +340,8 @@ int main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
printf("Linux strongSwan %s\n", VERSION);
|
printf("Linux strongSwan %s\n", VERSION);
|
||||||
exit(0);
|
status = 0;
|
||||||
|
goto deinit;
|
||||||
case 'l':
|
case 'l':
|
||||||
use_syslog = TRUE;
|
use_syslog = TRUE;
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user