1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Fix: Add sudo to commands that would fail due to missing permissions.

This commit is contained in:
JanHoefelmeyer 2024-08-08 11:44:16 +02:00
parent 8feddc70e1
commit e603c525c1
7 changed files with 22 additions and 22 deletions

View file

@ -20,7 +20,7 @@ set -e
TLPs=("white" "green" "amber" "red")
COUNTER=0
for f in $(ls csaf_examples); do
../../bin-linux-amd64/csaf_uploader --insecure -P security123 -a upload \
sudo ../../bin-linux-amd64/csaf_uploader --insecure -P security123 -a upload \
-t ${TLPs[$((COUNTER++ % 4))]} \
-u https://localhost:8443/cgi-bin/csaf_provider.go \
--client_cert ~/devca1/testclient1.crt \