aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
Diffstat (limited to 'worker')
-rw-r--r--worker/mbox/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/mbox/worker.go b/worker/mbox/worker.go
index 6ba886ae..ab16f91e 100644
--- a/worker/mbox/worker.go
+++ b/worker/mbox/worker.go
@@ -50,7 +50,7 @@ func (w *mboxWorker) handleMessage(msg types.WorkerMessage) error {
reterr = err
break
}
- dir := u.Path
+ var dir string
if u.Host == "~" {
home, err := os.UserHomeDir()
if err != nil {