diff --git a/js/misc/util.js b/js/misc/util.js index a876649b8..e63876e99 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -85,10 +85,10 @@ function trySpawn(argv) // Runs @command_line in the background. If launching @command_line // fails, this will throw an error. function trySpawnCommandLine(command_line) { - let success, argc, argv; + let success, argv; try { - [success, argc, argv] = GLib.shell_parse_argv(command_line); + [success, argv] = GLib.shell_parse_argv(command_line); } catch (err) { // Replace "Error invoking GLib.shell_parse_argv: " with // something nicer