We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f4438 commit 84c3e11Copy full SHA for 84c3e11
cmd/installer/main.go
@@ -3,12 +3,12 @@ package main
3
import (
4
"context"
5
"os"
6
- "path"
7
"syscall"
8
9
"github.com/mattn/go-isatty"
10
"github.com/replicatedhq/embedded-cluster/cmd/installer/cli"
11
"github.com/replicatedhq/embedded-cluster/pkg/prompts"
+ "github.com/replicatedhq/embedded-cluster/pkg/runtimeconfig"
12
)
13
14
func main() {
@@ -18,7 +18,7 @@ func main() {
18
19
prompts.SetTerminal(isatty.IsTerminal(os.Stdout.Fd()))
20
21
- name := path.Base(os.Args[0])
+ name := runtimeconfig.BinaryName()
22
23
// set the umask to 022 so that we can create files/directories with 755 permissions
24
// this does not return an error - it returns the previous umask
0 commit comments