summaryrefslogtreecommitdiff
path: root/md5sum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-14 20:35:45 -0700
committerJeff Carr <[email protected]>2019-06-14 20:35:45 -0700
commita0db57edd2f69884cafaf543d293ed7099e802eb (patch)
treecbfa060cdd05bebb4e631dca81cd97b53ccd72c6 /md5sum.go
parent8d1122b534a7d518b2df8baecd580ff337fa8f21 (diff)
more md5sum() debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'md5sum.go')
-rw-r--r--md5sum.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/md5sum.go b/md5sum.go
index 74ec106..80bc513 100644
--- a/md5sum.go
+++ b/md5sum.go
@@ -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)