Skip to content

Commit c83f0f8

Browse files
authored
canteen: Pass Environment Variables
1 parent ee95609 commit c83f0f8

File tree

1 file changed

+2
-2
lines changed
  • canteen/canteen-bootstrap/src/main/go

1 file changed

+2
-2
lines changed

canteen/canteen-bootstrap/src/main/go/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ func main() {
4545
}
4646
}
4747
} else {
48-
err = syscall.Exec(binary, append([]string{"java"}, args...), nil)
48+
err = syscall.Exec(binary, append([]string{"java"}, args...), os.Environ())
4949
if err != nil {
5050
log.Fatalf("Bootstrap execution error: %v", os.Environ())
5151
}
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)