summaryrefslogtreecommitdiffhomepage
path: root/runsc/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/main.go')
-rw-r--r--runsc/main.go4
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