also exit 1 when no device supplied