wordlebot/run.sh
Joseph Montanaro 935eb6cc51 run from script
2022-01-21 10:30:46 -08:00

10 lines
173 B
Bash

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