mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-29 13:26:38 -04:00
Assign error-specific exit codes to constants
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ func WalkEntryDir() ([]string, []string) {
|
||||
// otherwise, print the source of the error
|
||||
fmt.Println(core.AnsiError+"An unexpected error occurred while generating the entry list:", err.Error()+core.AnsiReset)
|
||||
}
|
||||
os.Exit(111)
|
||||
os.Exit(core.ErrorOther)
|
||||
}
|
||||
|
||||
// trim root path from each path before storing
|
||||
|
||||
Reference in New Issue
Block a user