From 46495cb6349dc33ad10f49c17e0c869d1a0980ed Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 5 Jan 2014 03:59:51 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spawn.vala b/Spawn.vala index b20fdb27..c4cfcf93 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -303,8 +303,8 @@ public class Spawn : Object this.tidyup(); // tidyup get's called in main loop. } - if (this.exceptions && this.result != 0) { - this.toString = function() { return this.stderr; }; + if (this.cfg.exceptions && this.result != 0) { + //this.toString = function() { return this.stderr; }; throw this; // we throw self... } -- 2.39.2