Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Fix linux start script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bottersnike committed Aug 6, 2017
1 parent 45edcc8 commit c3ed3c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/run_bot.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ cd ..
while true
do

if hash python3 2>/dev/null; then
python3 "$@"
if which python3>/dev/null; then
python3 "bot.py"
else
python "$@"
python "bot.py"
fi

done

0 comments on commit c3ed3c2

Please sign in to comment.