Fix --editor-config

This commit is contained in:
Jiří Štefka 2023-02-27 01:19:19 +01:00
parent 6581e516e8
commit be70839f3b

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