[ssl_mgmt] Fix usage of EDITOR

This commit is contained in:
Thomas Preud'homme 2014-03-09 16:54:29 +08:00
parent cd637fbbfa
commit b080b227a2
1 changed files with 1 additions and 1 deletions

View File

@ -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