Add --ignore-missing. Now is fixed.

This commit is contained in:
kamuri 2017-10-17 23:12:09 +02:00
parent fdb0601f4f
commit 1056b5b5ed
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ while true; do
log_date=$(date +"%Y-%m-%d %H:%M:%S ")
# Get chksum and check it.
chksum=$(sha512sum -c chksum)
chksum=$(sha512sum -c --ignore-missing chksum)
resu_acc=${chksum:21:2}
if [ -f postfix-virtual.cf ]; then
resu_vir=${chksum:44:2}