Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cilium-dbg: don't write to file on error opening
If os.OpenFile returns an error we shouldn't be writing to the returned os.(*File) instance which might be nil. Signed-off-by: Tobias Klauser <tobias@cilium.io>
- Loading branch information