diff --git a/msman.sh b/msman.sh index c36d773..d26bca1 100755 --- a/msman.sh +++ b/msman.sh @@ -466,7 +466,8 @@ 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 $EDITOR msman.cfg else echo "EDITOR is not set."