Skip to content

Commit

Permalink
shim: log error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Feb 14, 2024
1 parent 0e5ddb7 commit 4f5c0c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/carapace/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ func Execute(version string) error {
}

if err := shim.Update(); err != nil {
println(err.Error()) // TODO fail / exit 1 ?
carapace.LOG.Printf("failed to update shims: %v", err.Error())
}

if err := createOverlayDir(); err != nil { // TODO do this only if needed
println(err.Error())
carapace.LOG.Printf("failed to create overlay directory: %v", err.Error())
}

switch shell {
Expand Down

0 comments on commit 4f5c0c0

Please sign in to comment.