Skip to content

invoking sudo sh not working #263

@rtruss

Description

@rtruss

I had to change my process to sudo bash ./...

why is the script using #!/usr/bin/env bash versus #!/bin/bash.

Is one better than the other? If we are using tools like landscape to push this how would that work? All my other scripts start with #!/bin/bash. Is 26.04 requiring something different? Other scripts i use worked fine so just looking for clarification.

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