Turn off decryption

This commit is contained in:
Zack Scholl 2017-10-17 22:04:59 -06:00
parent 109fef84d0
commit 09bcda2705
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@ func runClient(connectionType string, codePhrase string) {
return
}
ioutil.WriteFile(fileName, decrypted, 0644)
os.Remove(fileName + ".encrypted")
if !debugFlag {
os.Remove(fileName + ".encrypted")
}
log.Debugf("\n\n\ndownloaded hash: [%s]", HashBytes(decrypted))
log.Debugf("\n\n\nrelayed hash: [%s]", fileHash)