summaryrefslogtreecommitdiff
path: root/lib/Shell.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Shell.pm')
-rw-r--r--lib/Shell.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Shell.pm b/lib/Shell.pm
index bb44b5398b..f4ef431cc5 100644
--- a/lib/Shell.pm
+++ b/lib/Shell.pm
@@ -21,7 +21,7 @@ AUTOLOAD {
my $cmd = $AUTOLOAD;
$cmd =~ s/^.*:://;
eval qq {
- sub $AUTOLOAD {
+ *$AUTOLOAD = sub {
if (\@_ < 1) {
`$cmd`;
}