We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfbf21b commit 3074b75Copy full SHA for 3074b75
cmd/runtipi/main.go
@@ -20,14 +20,10 @@ var (
20
func init() {
21
var err error
22
23
- config.RootFolder = os.Getenv("ROOT_FOLDER_HOST")
24
-
25
- if config.RootFolder == "" {
26
- config.RootFolder, err = os.Getwd()
27
- if err != nil {
28
- fmt.Println("Error getting working directory:", err)
29
- os.Exit(1)
30
- }
+ config.RootFolder, err = os.Getwd()
+ if err != nil {
+ fmt.Println("Error getting working directory:", err)
+ os.Exit(1)
31
}
32
33
if envRootFolder := os.Getenv("ROOT_FOLDER_HOST"); envRootFolder != "" {
0 commit comments