summaryrefslogtreecommitdiff
path: root/common/modules/io.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/io.jsm')
-rw-r--r--common/modules/io.jsm2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/modules/io.jsm b/common/modules/io.jsm
index 9727d66f..522b2832 100644
--- a/common/modules/io.jsm
+++ b/common/modules/io.jsm
@@ -431,6 +431,8 @@ var IO = Module("io", {
if (!file || !file.exists()) {
util.dactyl.echoerr("Command not found: " + program);
+ if (callable(blocking))
+ util.trapErrors(blocking);
return -1;
}