aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/exec.go')
-rw-r--r--internal/pkg/exec.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go
index 998dce70..c5b8b10d 100644
--- a/internal/pkg/exec.go
+++ b/internal/pkg/exec.go
@@ -20,6 +20,7 @@ import (
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp"
"hakurei.app/container/std"
+ "hakurei.app/ext"
"hakurei.app/message"
)
@@ -414,7 +415,7 @@ func (a *execArtifact) cure(f *FContext, hostNet bool) (err error) {
z.HostNet = hostNet
z.Hostname = "cure"
z.SetScheduler = SetSchedIdle
- z.SchedPolicy = std.SCHED_IDLE
+ z.SchedPolicy = ext.SCHED_IDLE
if z.HostNet {
z.Hostname = "cure-net"
}