Fix filemode not being octal

This commit is contained in:
Jan Bader 2021-08-05 23:51:38 +02:00
parent 4ea8dfd7ee
commit c885c03130

View File

@ -71,7 +71,7 @@ func main() {
if *toFile != "" && *fromFile == "" {
json, _ := json.MarshalIndent(filesMap.FilesByHash, "", " ")
ioutil.WriteFile(*toFile, json, 644)
ioutil.WriteFile(*toFile, json, 0644)
}
if *deleteDupesIn != "" {