From 184f2cd48a46abf0407a775cc7ea42d3483df613 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Tue, 12 Sep 2017 10:56:07 -0700 Subject: 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. --- examples/source/mount-cgroups/up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/source/mount-cgroups') 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} -- cgit v1.2.3