Do not check for kernels config exist
This commit is contained in:
parent
6b0301ec45
commit
bc4129e01c
2
main.go
2
main.go
@ -68,7 +68,7 @@ func main() {
|
|||||||
defaultKcfgPath := usr.HomeDir + "/.out-of-tree/kernels.toml"
|
defaultKcfgPath := usr.HomeDir + "/.out-of-tree/kernels.toml"
|
||||||
|
|
||||||
kcfgPathFlag := app.Flag("kernels", "Path to main kernels config")
|
kcfgPathFlag := app.Flag("kernels", "Path to main kernels config")
|
||||||
kcfgPath := kcfgPathFlag.Default(defaultKcfgPath).ExistingFile()
|
kcfgPath := kcfgPathFlag.Default(defaultKcfgPath).String()
|
||||||
|
|
||||||
defaultUserKcfgPath := usr.HomeDir + "/.out-of-tree/kernels.user.toml"
|
defaultUserKcfgPath := usr.HomeDir + "/.out-of-tree/kernels.user.toml"
|
||||||
userKcfgPathFlag := app.Flag("user-kernels", "User kernels config")
|
userKcfgPathFlag := app.Flag("user-kernels", "User kernels config")
|
||||||
|
Loading…
Reference in New Issue
Block a user