mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
chore: more small lint/perf fixes (#493)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -282,8 +282,7 @@ func clearEnv() {
|
||||
}
|
||||
|
||||
// Backup ciritcal env variables.
|
||||
switch runtime.GOOS {
|
||||
case "windows":
|
||||
if runtime.GOOS == "windows" {
|
||||
backup("SYSTEMROOT")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user