summaryrefslogtreecommitdiff
path: root/cmds/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/exit.go')
-rw-r--r--cmds/exit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/exit.go b/cmds/exit.go
index 52f082a..fc6d852 100644
--- a/cmds/exit.go
+++ b/cmds/exit.go
@@ -10,7 +10,7 @@ import (
// exit the shell and returns the provided status
// if no status is specified returns 0
-func exit(args []string) error {
+func Exit(args []string) error {
status := global.ReturnCode
if len(args) > 1 {
var err error