wordlebot/run.sh

10 lines
173 B
Bash
Raw Normal View History

2022-01-21 18:30:46 +00:00
set +x
# capture output so we can display conditionally
INSTALL_OUTPUT=$(pip install requests)
if [[ $? > 0 ]]; then
echo "$INSTALL_OUTPUT"
exit 1
fi
python bot.py