diff --git a/src/main.vala b/src/main.vala index aa1e1ab..db6ad08 100644 --- a/src/main.vala +++ b/src/main.vala @@ -78,13 +78,12 @@ int main (string[] args) { } }); - - string yggconf; browse.clicked.connect (() => { if (browse.label == "OK") { + string yggconf; Process.spawn_command_line_sync ("yggdrasil -genconf -json", out yggconf); parse (yggconf, ip);