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