getStatus() should return on when exit code of xm list == 0, if not then return off