mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 15:14:31 +00:00
check_kerberos.sh (already updated) sourced knoe_env.sh, knoe_secrets.sh, knoe_string.sh, and knoe_yaml.sh but the files were still named prole_*.sh. No other script referenced the old names, so this is a pure rename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
188 B
Bash
12 lines
188 B
Bash
#!/usr/bin/env bash
|
|
|
|
knoe_guard_nonempty() {
|
|
local name="$1"
|
|
local value="${2:-}"
|
|
if [[ -z "$value" ]]; then
|
|
echo "ERROR: ${name} is required" >&2
|
|
return 2
|
|
fi
|
|
return 0
|
|
}
|