Implement error-specific exit codes defined by libmutton

This commit is contained in:
2024-08-13 17:36:15 -04:00
parent 888b1ca80d
commit b68b2a8931
6 changed files with 31 additions and 9 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func writeEntryCLI(targetLocation string, unencryptedEntry []string, hideSecrets
EntryReader(unencryptedEntry, hideSecrets, true)
} else {
fmt.Println(core.AnsiError + "No data supplied for entry" + core.AnsiReset)
os.Exit(1)
os.Exit(105)
}
}