Expand check for --keep-tmp value to an existing file of any type
Squashed commit of the following:
commit aecf6e63780d9aec8b31b61aff0704f45c9598c9
Merge: 85db316 244c059
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date: Sun Nov 20 13:28:12 2022 +0000
Merge branch 'improve-keep-tmp' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-improve-keep-tmp
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
commit 244c05968e76d1fa7673202e1623cb252083bc66
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date: Thu Nov 17 02:13:40 2022 +0000
Expand check for --keep-tmp value to an existing file of any type
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
85db316606
commit
1a46e32454
@ -681,7 +681,7 @@ cleanup() {
|
||||
if [ "$EASYRSA_KEEP_TEMP" ]
|
||||
then
|
||||
# skip on black-listed directory names, with a warning
|
||||
if [ -d "$EASYRSA_TEMP_DIR/$EASYRSA_KEEP_TEMP" ]
|
||||
if [ -e "$EASYRSA_TEMP_DIR/$EASYRSA_KEEP_TEMP" ]
|
||||
then
|
||||
warn "\
|
||||
Prohibited value for --keep-tmp: '$EASYRSA_KEEP_TEMP'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user