Skip to content

Commit

Permalink
ncp-report: remove sensitive data
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 22, 2018
1 parent dabc17f commit cc53f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp-report
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ echo "<--! Paste this in GitHub report -->"
##

open_summary "NextCloudPi diagnostics"
bash /usr/local/bin/ncp-diag | column -t -s'|'
bash /usr/local/bin/ncp-diag | sed -r 's=(IP|certificates|gateway).*=\1|***REMOVED SENSITIVE VALUE***=g' | column -t -s'|'
close_summary

##
Expand Down

0 comments on commit cc53f40

Please sign in to comment.