mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-27 20:36:29 -04:00
Consistently use "age" when referencing age files, not "aging"
This commit is contained in:
@@ -8,7 +8,7 @@ var (
|
||||
EntryRoot = back.Home + "/.local/share/libmutton" // Path to libmutton entry directory
|
||||
ConfigDir = back.Home + "/.config/libmutton" // Path to libmutton configuration directory
|
||||
ConfigPath = ConfigDir + "/libmutton.ini" // Path to libmutton configuration file
|
||||
AgeDir = ConfigDir + "/aging" // Path to libmutton password aging database
|
||||
AgeDir = ConfigDir + "/age" // Path to libmutton password age directory
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,7 +8,7 @@ var (
|
||||
EntryRoot = back.Home + "\\AppData\\Local\\libmutton\\entries" // Path to libmutton entry directory
|
||||
ConfigDir = back.Home + "\\AppData\\Local\\libmutton\\config" // Path to libmutton configuration directory
|
||||
ConfigPath = ConfigDir + "\\libmutton.ini" // Path to libmutton configuration file
|
||||
AgeDir = ConfigDir + "\\aging" // Path to libmutton password aging database
|
||||
AgeDir = ConfigDir + "\\age" // Path to libmutton password age directory
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ func DirInit(preserveOldConfigDir bool) (string, error) {
|
||||
return "", errors.New("unable to create \"" + ConfigDir + "\": " + err.Error())
|
||||
}
|
||||
|
||||
// create password aging directory
|
||||
// create password age directory
|
||||
err = os.MkdirAll(AgeDir, 0700)
|
||||
if err != nil {
|
||||
return "", errors.New("unable to create \"" + AgeDir + "\": " + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user