mirror of
https://github.com/MrDetonia/Maki.git
synced 2024-11-25 04:30:36 -05:00
cleaned up bootstrap a bit
This commit is contained in:
parent
1af33fb13c
commit
899b50b601
@ -21,12 +21,10 @@ do
|
|||||||
runuser -m $puser -c 'rm -f ./reload'
|
runuser -m $puser -c 'rm -f ./reload'
|
||||||
runuser -m $puser -c 'python3 bot.py'
|
runuser -m $puser -c 'python3 bot.py'
|
||||||
|
|
||||||
# okay to quit if rval was not 0
|
# okay to quit if there is no reload file
|
||||||
if [ ! -f ./reload ]
|
if [ ! -f ./reload ]
|
||||||
then
|
then
|
||||||
echo no reload file, stopping for realsies...
|
echo no reload file, stopping for realsies...
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
exit
|
|
||||||
|
Loading…
Reference in New Issue
Block a user