File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ type ExportOptions struct {
4242// New creates a configuration Generator with the default
4343// configuration for the target operating system.
4444func New (os string ) (generator Generator , err error ) {
45- if os != "linux" && os != "solaris" && os != "windows" {
45+ if os != "linux" && os != "solaris" && os != "windows" && os != "freebsd" {
4646 return generator , fmt .Errorf ("no defaults configured for %s" , os )
4747 }
4848
@@ -72,7 +72,7 @@ func New(os string) (generator Generator, err error) {
7272 }
7373 }
7474
75- if os == "linux" || os == "solaris" {
75+ if os == "linux" || os == "solaris" || os == "freebsd" {
7676 config .Process .User = rspec.User {}
7777 config .Process .Env = []string {
7878 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ,
You can’t perform that action at this time.
0 commit comments