[gnome-shell] util: Fix number of parameters passed to spawn_sync



commit fd87468e36b2c5646f06b9adde053ab26a82dc4d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Jul 22 22:23:36 2012 -0300

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 1daac12..2f755cf 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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]