diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-11 16:15:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 16:15:56 -0500 |
commit | 3404ad042def1c02872f66836feae19c814901a4 (patch) | |
tree | a454ef259ab28f85b17f53b3273725480aa78515 /cmd/winpath/main.go | |
parent | c4142ce0cfff792092bf420950b1985058cc241c (diff) | |
parent | 8f2358eeaa59fe369eebc6186403f95c2d66e49b (diff) | |
download | podman-3404ad042def1c02872f66836feae19c814901a4.tar.gz podman-3404ad042def1c02872f66836feae19c814901a4.tar.bz2 podman-3404ad042def1c02872f66836feae19c814901a4.zip |
Merge pull request #12694 from rhatdan/depend
Add podman rm --depend
Diffstat (limited to 'cmd/winpath/main.go')
-rw-r--r-- | cmd/winpath/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/winpath/main.go b/cmd/winpath/main.go index 494d1cf3c..6fbe72837 100644 --- a/cmd/winpath/main.go +++ b/cmd/winpath/main.go @@ -114,7 +114,7 @@ func addPathToRegistry(dir string) error { return err } -// Removes all occurences of a directory path from the Windows path stored in the registry +// Removes all occurrences of a directory path from the Windows path stored in the registry func removePathFromRegistry(path string) error { k, err := registry.OpenKey(registry.CURRENT_USER, Environment, registry.READ|registry.WRITE) if err != nil { @@ -155,7 +155,7 @@ func removePathFromRegistry(path string) error { return err } -// Sends a notification message to all top level windows informing them the environmental setings have changed. +// Sends a notification message to all top level windows informing them the environmental settings have changed. // Applications such as the Windows command prompt and powershell will know to stop caching stale values on // subsequent restarts. Since applications block the sender when receiving a message, we set a 3 second timeout func broadcastEnvironmentChange() { |