util/winutil: fix a typo where we repeat we repeat ourselves
Found with the regex `\b([A-Za-z]+ [A-Za-z]+) \1\b`. Updates #cleanup Change-Id: If52c32e700cb2f9f97f2e1c812d48d788a758c51 Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -163,7 +163,7 @@ func getRegStringsInternal(subKey, name string) ([]string, error) {
|
|||||||
return val, nil
|
return val, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetRegStrings sets a MULTI_SZ value in the in the local machine path
|
// SetRegStrings sets a MULTI_SZ value in the local machine path
|
||||||
// to the strings specified by values.
|
// to the strings specified by values.
|
||||||
func SetRegStrings(name string, values []string) error {
|
func SetRegStrings(name string, values []string) error {
|
||||||
return setRegStringsInternal(regBase, name, values)
|
return setRegStringsInternal(regBase, name, values)
|
||||||
|
|||||||
Reference in New Issue
Block a user