return 1 when failing, otherwise, checking status programtically is meaningless.