diff --git a/cmd/carapace/cmd/root.go b/cmd/carapace/cmd/root.go index dfcdc8c3f3..84f2daa26e 100644 --- a/cmd/carapace/cmd/root.go +++ b/cmd/carapace/cmd/root.go @@ -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 {