Skip to content

not_run_from_ssh can be changed #2

@IBeAMe

Description

@IBeAMe

either

function not_run_from_ssh () {
pgrep "${PPID}.*sshd"
}

or
function not_run_from_ssh () {
return [ -n "$SSH_TTY" ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions