Guest User

Untitled

a guest
Jan 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. diff --git a/lib/Mojo/Server/Hypnotoad.pm b/lib/Mojo/Server/Hypnotoad.pm
  2. index 847cd3e..eb023f4 100644
  3. --- a/lib/Mojo/Server/Hypnotoad.pm
  4. +++ b/lib/Mojo/Server/Hypnotoad.pm
  5. @@ -223,6 +223,7 @@ sub _manage {
  6. if ($ENV{HYPNOTOAD_PID} && $ENV{HYPNOTOAD_PID} ne $$) {
  7. warn "STOPPING MANAGER $ENV{HYPNOTOAD_PID}\n" if DEBUG;
  8. kill 'QUIT', $ENV{HYPNOTOAD_PID};
  9. + setsid or die "Can't start a new session: $!";
  10. }
  11. $ENV{HYPNOTOAD_PID} = $$;
Add Comment
Please, Sign In to add comment