summaryrefslogtreecommitdiff
path: root/forgeConfig/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 00:48:51 -0600
committerJeff Carr <[email protected]>2024-12-01 00:48:51 -0600
commit4e47dea41e48e6ee8a48c0bbf75b1ba36a1b8f2c (patch)
treef7c2ab17c3e0bbb82322667cb5ded165f227b0b7 /forgeConfig/main.go
parent0b5687f76618025230baa4cf31e56dc1aba52d8b (diff)
using mutex lock from protobufv0.0.12
Diffstat (limited to 'forgeConfig/main.go')
-rw-r--r--forgeConfig/main.go2
1 files changed, 1 insertions, 1 deletions
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)
}