[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
|
sed "$replaceCmd" $confFile.in > $confFile
|
||||||
if ask_user_default_no "Do you want to edit the openssl configuration file?"
|
if ask_user_default_no "Do you want to edit the openssl configuration file?"
|
||||||
then
|
then
|
||||||
if [ -z "${EDITOR:-}" ]
|
if [ -n "${EDITOR:-}" ]
|
||||||
then
|
then
|
||||||
$EDITOR $confFile
|
$EDITOR $confFile
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue