fixed netaudit blunder

This commit is contained in:
aiju 2012-08-26 15:56:16 +02:00
parent e935fec9be
commit 90ea636ce1

View file

@ -7,7 +7,7 @@ fn checkhost {
} }
dom=`{ndb/ipquery sys $sysname dom | sed 's/^dom=//'} dom=`{ndb/ipquery sys $sysname dom | sed 's/^dom=//'}
echo 'checking this host''s tuple:' echo 'checking this host''s tuple:'
if(~ dom '') if(~ $dom '')
echo ' no dom= entry' echo ' no dom= entry'
if not if(! ~ $dom *.*) if not if(! ~ $dom *.*)
echo ' dom='$dom 'does not have a dot' echo ' dom='$dom 'does not have a dot'