From fd87468e36b2c5646f06b9adde053ab26a82dc4d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 22 Jul 2012 22:23:36 -0300 Subject: [PATCH] util: Fix number of parameters passed to spawn_sync We passed one too many https://bugzilla.gnome.org/show_bug.cgi?id=680426 --- js/misc/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc/util.js b/js/misc/util.js index 1daac1230..2f755cf96 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -150,7 +150,7 @@ function killall(processName) { // whatever... let argv = ['pkill', '-f', '^([^ ]*/)?' + processName + '($| )']; - GLib.spawn_sync(null, argv, null, GLib.SpawnFlags.SEARCH_PATH, null, null); + GLib.spawn_sync(null, argv, null, GLib.SpawnFlags.SEARCH_PATH, null); // It might be useful to return success/failure, but we'd need // a wrapper around WIFEXITED and WEXITSTATUS. Since none of // the current callers care, we don't bother.