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:
parent
8feddc70e1
commit
e603c525c1
7 changed files with 22 additions and 22 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue