mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
7 lines
211 B
Bash
Executable file
7 lines
211 B
Bash
Executable file
#!/bin/sh
|
|
# Run a command with root privileges: use sudo only when not root (Docker/act often have no sudo).
|
|
# Usage: sh scripts/ci/exec-priv.sh apt-get update
|
|
set -eu
|
|
|
|
. "$(dirname "$0")/priv.sh"
|
|
run_priv "$@"
|