From 165c5c078b41ad2ea2edbd325948ed5aa0602e06 Mon Sep 17 00:00:00 2001 From: bpc2003 Date: Sat, 24 May 2025 14:25:58 -0400 Subject: consolidate all environment variable commands into env.go --- cmds/exit.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmds/exit.go') 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 { -- cgit v1.2.3