Skip to content

Commit

Permalink
fix removal of old restore operation
Browse files Browse the repository at this point in the history
  • Loading branch information
obsti8383 committed Sep 4, 2021
1 parent 150db76 commit 66cb107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func restoreAll() {
// Use goroutine to allow gui to update window.
go func() {
triggerAll(false)
restoreSavedRegistryKeys()
restoreSavedRegistryKeys() // TODO: add error handling/visibility to user
markStatus(false)
showStatus(false)

Expand Down
2 changes: 1 addition & 1 deletion registry_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (regValue *RegistrySingleValueDWORD) Harden(harden bool) error {
// Restore.
// don't do anything here since this is done by restoreSavedRegistryKeys()
// in the main procedure
return true
return nil
}

// else: Harden.
Expand Down

0 comments on commit 66cb107

Please sign in to comment.