about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-23 01:46:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-23 01:46:53 +0000
commit9fe5982c86c31373cec631f1e5b926fd1103908d (patch)
treecca1c90bcb884480d0c6b59d7c9fcbadc2db8cc5 /examples
parent7adedb517c297447d1bea16507b42a59cbb7011b (diff)
downloads6-9fe5982c86c31373cec631f1e5b926fd1103908d.tar.gz
s6-9fe5982c86c31373cec631f1e5b926fd1103908d.tar.xz
s6-9fe5982c86c31373cec631f1e5b926fd1103908d.zip
Replace LASTPID with ! in the init-stage1 example script
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/ROOT/etc/s6-init/init-stage12
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ROOT/etc/s6-init/init-stage1 b/examples/ROOT/etc/s6-init/init-stage1
index ea946e9..dd6eb70 100755
--- a/examples/ROOT/etc/s6-init/init-stage1
+++ b/examples/ROOT/etc/s6-init/init-stage1
@@ -52,7 +52,7 @@ background
   redirfd -w 1 /service/s6-svscan-log/fifo # (blocks until the logger reads)
   /etc/s6-init/init-stage2
 }
-unexport LASTPID
+unexport !
 
 # Start stage 2.
 s6-svscan -t0 /service