mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +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
|
|
@ -36,7 +36,7 @@ echo '
|
|||
return 403;
|
||||
}
|
||||
}
|
||||
'> ~/${FOLDERNAME}/clientCertificateConfigs.txt
|
||||
' | sudo tee ~/${FOLDERNAME}/clientCertificateConfigs.txt
|
||||
|
||||
sudo sed -i "/^server {/r ${HOME}/${FOLDERNAME}/clientCertificateConfigs.txt" $NGINX_CONFIG_PATH
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue