diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-24 14:25:58 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-24 14:25:58 -0400 |
commit | 165c5c078b41ad2ea2edbd325948ed5aa0602e06 (patch) | |
tree | fc69e2cf5080b443091ecb5134cf0a47dfe78fe1 /cmds/exit.go | |
parent | 1a90e3410a9bdaf606a6124930a0913c07b44c87 (diff) |
consolidate all environment variable commands into env.go
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 { |