Fix --editor-config
This commit is contained in:
parent
6581e516e8
commit
be70839f3b
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…
x
Reference in New Issue
Block a user