bot: reorder fork sequence github/master
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 4 Jun 2021 14:46:59 +0000 (16:46 +0200)
committerMatthias Hecker <36882671+mattzque@users.noreply.github.com>
Sat, 5 Jun 2021 16:06:45 +0000 (18:06 +0200)
commite01699c5284bdb45f88ee6335dc90f25f4932b66
tree4b4488d22c2f4b497e5cf5255fbf304cda466337
parent8a458c02a29b1d7c41b9420eabc90ba40bbe960a
bot: reorder fork sequence

We do the actual fork as the last step, after redirecting the
standard I/O streams. This also ensures that no log messages
are shown on console _after_ forking.
lib/rbot/ircbot.rb