summaryrefslogtreecommitdiff
path: root/doIncoming.go
diff options
context:
space:
mode:
Diffstat (limited to 'doIncoming.go')
-rw-r--r--doIncoming.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/doIncoming.go b/doIncoming.go
index d6dbed4..af8ac21 100644
--- a/doIncoming.go
+++ b/doIncoming.go
@@ -9,6 +9,7 @@ import (
"go.wit.com/lib/config"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -60,7 +61,7 @@ func moveOutOfIncoming(fullname string) error {
// log.Printf("%s moved incoming oldname %s newname: %s\n", packageName, path, newfilename)
}
// return "file already exists. use --force to replace", errors.New("duplicate .deb in incoming/")
- me.argv.GoodExit("file already exists. TODO: fix this to use --force to replace")
+ argvpb.GoodExit("file already exists. TODO: fix this to use --force to replace")
}
// file can be moved
os.Rename(fullname, newfilename)