return the command status