summaryrefslogtreecommitdiff
path: root/forgeConfig/main.go
diff options
context:
space:
mode:
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)
}