doc/Hooks.txt in sup-1.1 vs doc/Hooks.txt in sup-1.2
- old
+ new
@@ -67,10 +67,10 @@
@bgtask_pid = fork
if @bgtask_pid
set 'bgtask_pid' @bgtask_pid
Process.detach(@bgtask_pid) # so we don't have to wait on it when we go to kill it
else
- exec "background-task args 2&>1 >> /tmp/logfile"
+ exec "background-task args 2>&1 >> /tmp/logfile"
end
after-poll:
## kills the background task after the first poll
@bgtask_pid = get 'bgtask_pid'