From f8bac5c19769672fc38cb9f927bb633e2d45d3a7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 28 Apr 2014 10:16:56 -0400 Subject: [PATCH] util: Don't pass too many arguments to child_watch_add --- 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 ba5de4a75..e78c551fd 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -129,7 +129,7 @@ function trySpawn(argv) // Dummy child watch; we don't want to double-fork internally // because then we lose the parent-child relationship, which // can break polkit. See https://bugzilla.redhat.com//show_bug.cgi?id=819275 - GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {}, null); + GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {}); } // trySpawnCommandLine: