more md5sum() debugging

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-14 20:35:45 -07:00
parent 8d1122b534
commit a0db57edd2
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ func hash_file_md5(filePath string) (string, error) {
// hash thyself: hash_file_md5(os.Args[0])
func Md5sum(filename string) string {
filename = Path(filename)
log.Println("shell.Md5sum() START filename =", filename)
hash, err := hash_file_md5(filename)
if err == nil {
log.Println("shell.Md5sum() hash =", hash)