diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-26 21:41:51 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-26 21:41:51 -0400 |
commit | 508549128d21d752cb861ac2d65bc8fc89e32555 (patch) | |
tree | f7f7095cb55df483654436df90b0d3cf7a98e3b4 /cmds/exit.go | |
parent | 64c5bf8daf8b71b6efc2b4d2be34b179c8c87059 (diff) |
Added external commands
Diffstat (limited to 'cmds/exit.go')
-rw-r--r-- | cmds/exit.go | 2 |
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 |