summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-22 13:21:42 +0100
committertv <tv@krebsco.de>2016-02-22 13:21:42 +0100
commit67e93510e7742acae44db30275abbfe671aa9b7b (patch)
treed149484dc3b0ba5f6bb5551d3b12c663e8f9e3e7
parent46c7af2935ccc096ba0e93cd1adf575026edf44a (diff)
-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