mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
chore: fix some function names
Signed-off-by: dropbigfish <fillfish@foxmail.com>
This commit is contained in:
@@ -156,7 +156,7 @@ func enableBackupPrivilege() {
|
||||
}
|
||||
}
|
||||
|
||||
// enableBackupPrivilege enables privilege for restoring security descriptors
|
||||
// enableRestorePrivilege enables privilege for restoring security descriptors
|
||||
func enableRestorePrivilege() {
|
||||
err := enableProcessPrivileges([]string{SeRestorePrivilege, SeSecurityPrivilege, SeTakeOwnershipPrivilege})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user