fix error when swap percentage is less than 1

Conflicts:
	plugins/system/check-swap-percentage.sh
updated mools pr into this PR