diff options
author | Andrei Vagin <avagin@google.com> | 2019-01-31 15:17:50 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-01-31 15:19:04 -0800 |
commit | 4e695adcd0c739101c3d50431ca18b1b911c9238 (patch) | |
tree | 2eb6bd3696011463e521adea2da10978dde59a95 /runsc/main.go | |
parent | 88b4ce8cac9c438da472205e0e710dd75e73b050 (diff) |
gvisor/gofer: Use pivot_root instead of chroot
PiperOrigin-RevId: 231864273
Change-Id: I8545b72b615f5c2945df374b801b80be64ec3e13
Diffstat (limited to 'runsc/main.go')
-rw-r--r-- | runsc/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/main.go b/runsc/main.go index e036abc44..472839bf0 100644 --- a/runsc/main.go +++ b/runsc/main.go @@ -179,8 +179,8 @@ func main() { // Quick sanity check to make sure no other commands get passed // a log fd (they should use log dir instead). - if subcommand != "boot" { - cmd.Fatalf("flag --debug-log-fd should only be passed to 'boot' command, but was passed to %q", subcommand) + if subcommand != "boot" && subcommand != "gofer" { + cmd.Fatalf("flag --debug-log-fd should only be passed to 'boot' and 'gofer' command, but was passed to %q", subcommand) } // If we are the boot process, then we own our stdio FDs and |