Skip to content

sudo/doas check too global #89

Description

@jshufro

64f1406 elevated the sudo/doas check to the top level of the script, but since it's only used when -d isn't passed, that's a bit too universal.

Perhaps that commit should be reverted and detect_sudo_command >&2 should be invoked just after if [ -z "$NO_DEPS" ]; then and before the case statements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions