mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
util: Fix number of parameters passed to spawn_sync
We passed one too many https://bugzilla.gnome.org/show_bug.cgi?id=680426
This commit is contained in:
parent
75e49610cb
commit
fd87468e36
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue