Fix parse 2

This commit is contained in:
plant_1312 2020-01-25 15:51:56 +00:00
parent 86d4dbf287
commit e31301b689
1 changed files with 1 additions and 2 deletions

View File

@ -78,13 +78,12 @@ int main (string[] args) {
} }
}); });
string yggconf;
browse.clicked.connect (() => { browse.clicked.connect (() => {
if (browse.label == "OK") { if (browse.label == "OK") {
string yggconf;
Process.spawn_command_line_sync ("yggdrasil -genconf -json", out yggconf); Process.spawn_command_line_sync ("yggdrasil -genconf -json", out yggconf);
parse (yggconf, ip); parse (yggconf, ip);