6 lines
129 B
Bash
6 lines
129 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# The agent does not need stdin
|
|
exec </dev/null
|
|
exec sudo --non-interactive -- SUDOCOMMAND
|