Skip to content

Commit

Permalink
Removed activepath from return
Browse files Browse the repository at this point in the history
  • Loading branch information
derickdiaz committed Jan 29, 2024
1 parent 88ec9a2 commit eef4882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rke2/rke2_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ func cleanupDataDir(dataDir string) error {
paths, err := getProcessExecutablePaths()
activePaths := []string{}
if err != nil {
return activePaths, err
return err
}
// Ensures only unique path within the data directory are
// captured within the array
Expand Down

0 comments on commit eef4882

Please sign in to comment.