Removed useless cd command
This commit is contained in:
parent
1aa28e02c4
commit
8e774eae38
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue