Update system.check.sh

fixed bug