From 4e47dea41e48e6ee8a48c0bbf75b1ba36a1b8f2c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 00:48:51 -0600 Subject: using mutex lock from protobuf --- forgeConfig/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forgeConfig/main.go') diff --git a/forgeConfig/main.go b/forgeConfig/main.go index 8ca4bf9..36b0b71 100644 --- a/forgeConfig/main.go +++ b/forgeConfig/main.go @@ -25,7 +25,7 @@ func main() { // try to delete, then save config and exit if argv.Delete { - if oldr := f.Config.DeleteByGoPath(argv.GoPath); oldr == nil { + if f.Config.DeleteByGoPath(argv.GoPath) { log.Info("deleted", argv.GoPath, "did not exist. did nothing") os.Exit(0) } -- cgit v1.2.3