diff --git a/gocos.go b/gocos.go index 0395434..342ab17 100644 --- a/gocos.go +++ b/gocos.go @@ -63,7 +63,7 @@ func main() { target = GetConfig(Target) stripPrefix = GetConfig(StripPrefix) ) - if !VarIsEmpty(secretID, secretKey, bucketURL, source, target) { + if VarIsEmpty(secretID, secretKey, bucketURL, source, target) { ErrExit(errors.New("input error")) } sourceFiles := make([]string, 0, 0)