From 129fb26f1da8c56d89ba1ab034ecec41f2aa5005 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Fri, 7 Jun 2019 22:30:23 +0800 Subject: [PATCH] add --- alg.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alg.go b/alg.go index 4644eb1..cd4a073 100644 --- a/alg.go +++ b/alg.go @@ -55,8 +55,12 @@ func showErrorStr(err string) { func dojob(jobtotal *int32, jobdone *int32, filetotal *int64, filedone *int64, input string, output string, doen bool, key string, split int) { + input = input + "/" + output = output + "/" input = filepath.FromSlash(input) output = filepath.FromSlash(output) + input = filepath.Clean(input) + output = filepath.Clean(output) var done map[string]int done = make(map[string]int)