Sync with latest libmutton development version

This commit is contained in:
2026-01-21 19:12:13 -05:00
parent 0211941a48
commit 8f9aa7eef3
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func inputPasswordGen() string {
// writeEntryCLI writes an entry to realPath and previews it (errors if no data is supplied).
func writeEntryCLI(realPath string, decSlice []string, passwordIsNew bool, oldPassword string) {
if core.EntryIsNotEmpty(decSlice) {
if err := core.WriteEntry(realPath, decSlice, passwordIsNew); err != nil {
if err := core.WriteEntry(realPath, decSlice, passwordIsNew, nil); err != nil {
other.PrintError("Failed to write entry: "+err.Error(), back.ErrorWrite)
}
// preview the entry