Removed useless cd command

This commit is contained in:
Anon 2024-03-14 15:36:36 -07:00
parent 1aa28e02c4
commit 8e774eae38

View File

@ -25,7 +25,7 @@ VENV="${RUN_DIR}/venv/bin/activate"
ENTRY="${RUN_DIR}/fedistatusposter.py"
# cd into the bot's root path, set up the virtual environment, and run
[ ! -f "$VENV" ] && echo "Virtual environment not found: ${VENV}" && cd - > /dev/null && exit 1
[ ! -f "$VENV" ] && echo "Virtual environment not found: ${VENV}" && exit 1
. "$VENV"
"$ENTRY" "$@"