pass "false" and not null to nsIProcess.run (not that it seems to make any difference)

This commit is contained in:
Simon Kornblith 2010-06-30 03:25:54 +00:00
parent f11986ce04
commit 2d92f3776e

View file

@ -303,7 +303,7 @@ Zotero.Integration = new function() {
var proc = Components.classes["@mozilla.org/process/util;1"].
createInstance(Components.interfaces.nsIProcess);
proc.init(_osascriptFile);
proc.run(block, ['-e', script], 2);
proc.run(!!block, ['-e', script], 2);
}
}
}