[ssl_mgmt] Fix usage of EDITOR
This commit is contained in:
parent
cd637fbbfa
commit
b080b227a2
|
@ -191,7 +191,7 @@ generate_config ()
|
|||
sed "$replaceCmd" $confFile.in > $confFile
|
||||
if ask_user_default_no "Do you want to edit the openssl configuration file?"
|
||||
then
|
||||
if [ -z "${EDITOR:-}" ]
|
||||
if [ -n "${EDITOR:-}" ]
|
||||
then
|
||||
$EDITOR $confFile
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue