Fix export result txt

This commit is contained in:
Sven Seeberg 2020-11-19 18:56:56 +01:00
parent 6eb37dcea0
commit a4ea94adc7
Signed by: sven.seeberg
GPG key ID: 29559DD5A83806B5

View file

@ -192,7 +192,7 @@ EOT;
// synchronize both files
$this->sync_command($file_path);
$this->sync_command("$file_path.gpg");
$this->sync_command($file_path.".gpg");
// return the hash of the text file
return trim(shell_exec("/usr/bin/sha256sum $file_path | awk '{ print $1 }'"));