Skip to content

Commit 6e17cd3

Browse files
committed
hack updateLdCacheHandler to exit 1 so runc dumps its logs
1 parent 5231b6c commit 6e17cd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/nvidia-cdi-hook/update-ldcache/update-ldcache.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ func updateLdCacheHandler() {
133133
log.Printf("Error updating ldcache: %v", err)
134134
os.Exit(1)
135135
}
136+
// HACK
137+
os.Exit(1)
136138
}
137139

138140
// updateLdCache ensures that the ldcache in the container is updated to include

0 commit comments

Comments
 (0)