summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcac-api2
1 files changed, 1 insertions, 1 deletions
diff --git a/cac-api b/cac-api
index 76a0723..1bc0214 100755
--- a/cac-api
+++ b/cac-api
@@ -487,7 +487,7 @@ printf %s $binaryPrefix | tr -d 0 | wc -c
#? cac-api will try to load secrets from $cac_secrets
#? and return with error code 1.
__cac_load_secrets() {
- if test -r "$cac_secrets"; then
+ if ! test -r "$cac_secrets"; then
echo "unable to load secrets from '$cac_secrets'" >&2
__cac_api_cli__help
return 1