summaryrefslogtreecommitdiff
path: root/lib/shell/system-command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shell/system-command.rb')
-rw-r--r--lib/shell/system-command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index 6071c1c841..f87ba890ea 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -16,7 +16,7 @@ class Shell
class SystemCommand < Filter
def initialize(sh, command, *opts)
if t = opts.find{|opt| !opt.kind_of?(String) && opt.class}
- Shell.Fail TypeError, t.class, "String"
+ Shell.Fail Error::TypeError, t.class, "String"
end
super(sh)
@command = command