summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.go b/shell.go
index 09c24c9..efa1794 100644
--- a/shell.go
+++ b/shell.go
@@ -18,7 +18,7 @@ func Script(cmds string) int {
line = strings.TrimSpace(line) // this is like 'chomp' in perl
fmt.Println("LINE:", line)
time.Sleep(1)
- shell(line)
+ Run(line)
}
return 0
}