summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-06 18:41:56 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-06 18:41:56 -0400
commit457de90f5fac2c71bcbe5101a1b8528bd8a0b51f (patch)
treefad0e081e59e55a32e74dde479bd985e00d388a1
parent880d098dab86e09eece360d970dc921e5f734903 (diff)
POSIX::setsid is not exported per default
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 1b12144e8..40f6aa81d 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -505,7 +505,7 @@ sub pingurl (@) { #{{{
defined(my $pid = fork) or error("Can't fork: $!");
return if $pid;
chdir '/';
- setsid() or error("Can't start a new session: $!");
+ POSIX::setsid() or error("Can't start a new session: $!");
open STDIN, '/dev/null';
open STDOUT, '>/dev/null';
open STDERR, '>&STDOUT' or error("Can't dup stdout: $!");