This commit is contained in:
parent
eb8e8e4aed
commit
7578acff90
1 changed files with 1 additions and 2 deletions
|
@ -471,8 +471,7 @@ while True:
|
|||
ossystem("git fetch")
|
||||
ossystem("git pull")
|
||||
irc.send_irc(channel, nick + ": Pulled from Git, restarting bot...")
|
||||
sleep(1)
|
||||
ossystem("sudo systemctl restart sweebot")
|
||||
restart()
|
||||
else:
|
||||
irc.send_irc(channel, nick + ": Permission denied.")
|
||||
block+=1
|
||||
|
|
Loading…
Reference in a new issue