X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d4c61b72813b880d86b316770f2e3819a6428202..fcacabcdf95af63148b6189f67c31cebb64e946b:/IkiWiki/UserInfo.pm diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm index 02c27991c..99b3c9f0a 100644 --- a/IkiWiki/UserInfo.pm +++ b/IkiWiki/UserInfo.pm @@ -157,8 +157,8 @@ sub send_commit_mails ($$$@) { #{{{ # Daemonize, in case the mail sending takes a while. defined(my $pid = fork) or error("Can't fork: $!"); return if $pid; - setsid() or error("Can't start a new session: $!"); eval q{use POSIX 'setsid'}; + setsid() or error("Can't start a new session: $!"); chdir '/'; open STDIN, '/dev/null'; open STDOUT, '>/dev/null';