forked from evolix/evocheck
Fix #1851. Error in condition comparing md5sums.
This commit is contained in:
parent
ff53d8bcdf
commit
0ec499498b
|
@ -309,7 +309,7 @@ if [ -e /etc/debian_version ]; then
|
|||
if [ "$IS_BINDCHROOT" = 1 ]; then
|
||||
if is_installed bind9; then
|
||||
if grep -q '^OPTIONS=".*-t' /etc/default/bind9 && grep -q '^OPTIONS=".*-u' /etc/default/bind9; then
|
||||
if [ "$(md5sum /usr/sbin/named |cut -f 1 -d ' ')" = "$(md5sum /var/chroot-bind/usr/sbin/named |cut -f 1 -d ' ')" ]; then
|
||||
if [ "$(md5sum /usr/sbin/named |cut -f 1 -d ' ')" != "$(md5sum /var/chroot-bind/usr/sbin/named |cut -f 1 -d ' ')" ]; then
|
||||
echo 'IS_BINDCHROOT FAILED!'
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue