mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-05-06 12:26:58 -04:00
tls: Make rm safer
Not really practically relevant, but fixes shellcheck failure > SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.
This commit is contained in:
@@ -32,7 +32,7 @@ touch index.txt
|
||||
openssl ca -batch -config ca.conf -in alice.csr -days 1 -notext -extensions usr_cert -out alice-expired.pem -subj "/CN=alice/DC=COCKPIT/DC=LAN/"
|
||||
|
||||
rm -r certs
|
||||
rm index.txt* serial* *.csr
|
||||
rm -- index.txt* serial* *.csr
|
||||
|
||||
# Update fingerprints in testing.h
|
||||
update_fingerprint() { # args: MACRO_NAME CERT_FILE
|
||||
|
||||
Reference in New Issue
Block a user