Add --ignore-missing. Now is fixed.
This commit is contained in:
parent
fdb0601f4f
commit
1056b5b5ed
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue