Print hashes as well in postgres mode
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8db91fbdda
commit
87111da15e
|
@ -98,6 +98,8 @@ func PostgresHashFileResult(result *HashFileResult, settings PostgresSettings) {
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, result.Path, "SQL Error: ", err)
|
fmt.Fprintln(os.Stderr, result.Path, "SQL Error: ", err)
|
||||||
|
} else {
|
||||||
|
fmt.Println(result.SHA256, result.MD5, result.Path)
|
||||||
}
|
}
|
||||||
if rows != nil {
|
if rows != nil {
|
||||||
rows.Close()
|
rows.Close()
|
||||||
|
|
Loading…
Reference in a new issue