summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rhimportd/uploadWeb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/uploadWeb.go b/src/rhimportd/uploadWeb.go
index 8e7dfb7..6d6e56e 100644
--- a/src/rhimportd/uploadWeb.go
+++ b/src/rhimportd/uploadWeb.go
@@ -170,7 +170,7 @@ func webUploadCleanerRun(dir *os.File, conf *rhimport.Config, maxAge time.Durati
continue
}
- if err := os.RemoveAll(conf.TempDir + entry.Name()); err != nil {
+ if err := os.RemoveAll(conf.TempDir + "/" + entry.Name()); err != nil {
rhl.Printf("webUploadCleaner: deleting dir '%s' failed: %v", entry.Name(), err)
continue
}