From be70839f3b9bc673e9382c93ec592b5492d213bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 27 Feb 2023 01:19:19 +0100 Subject: [PATCH] Fix --editor-config --- msman.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/msman.sh b/msman.sh index 0d3c2e3..10f04ed 100755 --- a/msman.sh +++ b/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