diff options
-rw-r--r-- | conf.c | 5 | ||||
-rw-r--r-- | passt.1 | 2 |
2 files changed, 0 insertions, 7 deletions
@@ -561,11 +561,6 @@ static int conf_pasta_ns(int *netns_only, char *userns, char *netns, } } - if (*userns && !*netns) { - err("--userns requires --netns or PID"); - return -EINVAL; - } - /* Attaching to a netns/PID, with no userns given */ if (*netns && !*userns) *netns_only = 1; @@ -453,8 +453,6 @@ Default is \fBauto\fR. Target user namespace to join, as a path. If PID is given, without this option, the user namespace will be the one of the corresponding process. -This option requires --netns or a PID to be specified. - .TP .BR \-\-netns " " \fIspec Target network namespace to join, as a path or a name. A name is treated as |