From 0cdd1213173d2a9102e7dd3bc98bd705fb0d5643 Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Thu, 12 Sep 2024 10:05:21 -0400 Subject: [PATCH] The argument to check should be a directory to write assessment-results to, not the file to write them to --- bin/check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check b/bin/check index a1c8afa..e2716c9 100755 --- a/bin/check +++ b/bin/check @@ -9,7 +9,7 @@ python c2p/compliance_to_policy.py -c cdef.json -o auditree/auditree.json if [ "$1" = "" ]; then ar="$(mktemp -d)/auditree.json" else - ar="$1" + ar="$1/auditree.json" fi python c2p/result_to_compliance.py -c cdef.json -i /tmp/compliance/check_results.json > $ar