Skip to content

Commit

Permalink
update kubeArmor.go
Browse files Browse the repository at this point in the history
Signed-off-by: Jaehyun Nam <[email protected]>
  • Loading branch information
nam-jaehyun committed Jun 14, 2022
1 parent 0b7d0e3 commit 319e4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KubeArmor/core/kubeArmor.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (dm *KubeArmorDaemon) DestroyKubeArmorDaemon() {
// delete pid file
if _, err := os.Stat(cfg.PIDFilePath); err == nil {
kg.Print("Deleting PID file")

err := os.Remove(cfg.PIDFilePath)
if err != nil {
kg.Errf("Failed to delete PID file")
Expand Down

0 comments on commit 319e4e1

Please sign in to comment.