diff options
Diffstat (limited to 'cmds/exit.go')
-rw-r--r-- | cmds/exit.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/exit.go b/cmds/exit.go index a295ff4..5170b26 100644 --- a/cmds/exit.go +++ b/cmds/exit.go @@ -6,6 +6,8 @@ import ( "strconv" ) +// exit the shell and returns the provided status +// if no status is specified returns 0 func exit(args []string) error { status := 0 if len(args) > 1 { |