bin/sysmaint: fix script execution