Fix --editor-config
This commit is contained in:
parent
6581e516e8
commit
be70839f3b
1 changed files with 1 additions and 2 deletions
3
msman.sh
3
msman.sh
|
@ -466,8 +466,7 @@ if [[ "$1" == "--redownload" ]] || [[ "$1" == "-r" ]]; then
|
|||
exec "$0"
|
||||
exit 0
|
||||
elif [[ "$1" == "--edit-config" ]] || [[ "$1" == "-e" ]]; then
|
||||
if ! command -v $EDITOR &> /dev/null
|
||||
then
|
||||
if ! command -v $EDITOR &> /dev/null; then
|
||||
echo "EDITOR is not set."
|
||||
echo "Open 'msman.cfg' manually."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue