Skip to content

Commit b2e8b06

Browse files
author
Jeroen Beckers
committed
Fix removal of certs
1 parent 5c0717c commit b2e8b06

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

post-fs-data.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ collect_user_certs(){
1010

1111
mkdir -p -m 700 $MODDIR$SYS_CERT_DIR
1212

13+
# Clean directory so that deleted certs actually disappear
14+
rm -rf $MODDIR$SYS_CERT_DIR/*
15+
1316
log "Grabbing user certs"
1417
# Add the user-defined certs, looping over all available users
1518
for dir in /data/misc/user/*; do

0 commit comments

Comments
 (0)