summaryrefslogtreecommitdiff
path: root/examples/source/mount-cgroups/up
diff options
context:
space:
mode:
authorColin Booth <colin@heliocat.net>2017-09-12 10:56:07 -0700
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-13 16:13:17 +0000
commit184f2cd48a46abf0407a775cc7ea42d3483df613 (patch)
tree2939b43091c04544503b2cc9ca905afb78c30cb7 /examples/source/mount-cgroups/up
parentbc0746bebb7adcb18ed8e32aebef10ca8f555479 (diff)
downloads6-rc-184f2cd48a46abf0407a775cc7ea42d3483df613.tar.xz
s6-rc examples: Change usage of import to importas.
execline's import is deprecated but the examples in s6-rc have not yet been updated to use importas.
Diffstat (limited to 'examples/source/mount-cgroups/up')
-rw-r--r--examples/source/mount-cgroups/up2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/source/mount-cgroups/up b/examples/source/mount-cgroups/up
index 5c62b47..033176f 100644
--- a/examples/source/mount-cgroups/up
+++ b/examples/source/mount-cgroups/up
@@ -5,6 +5,6 @@ pipeline { s6-tail -n +2 }
pipeline { s6-cut -d"\t" -f1 }
pipeline { s6-grep -vF -- devices }
forstdin -d"\n" -- i
-import -u i
+importas -u i i
if { s6-mkdir /sys/fs/cgroup/${i} }
s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i}