Skip to content

Commit d63efd7

Browse files
Merge pull request #18 from jtakaki-matc/software-4923-cryptopolicy
Revise crytpo policy show usage (SOFTWARE-5330)
2 parents b722460 + ebca677 commit d63efd7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

osg-system-profiler

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,14 @@ dump_file "/etc/hosts"
184184

185185
run_cmd df --human-readable --print-type
186186
run_cmd free
187-
run_cmd update-crypto-policies --show
187+
188+
189+
if which update-crypto-policies &>/dev/null; then
190+
echo "***** Crypto Policy"
191+
update-crypto-policies --show 2>&1
192+
else
193+
echo "***** Crypto Binary not found..."
194+
fi
188195

189196
dump_file "/proc/cpuinfo"
190197

0 commit comments

Comments
 (0)