Removed useless cd command
This commit is contained in:
parent
1aa28e02c4
commit
8e774eae38
@ -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" "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user