Skip to content

Commit

Permalink
Merge pull request #495 from saschagrunert/retries
Browse files Browse the repository at this point in the history
Give devices more time/retries to remove mounts
  • Loading branch information
giuseppe authored Dec 18, 2019
2 parents d8c2568 + be0e91d commit e18327c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/system/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func EnsureRemoveAll(dir string) error {

// track retries
exitOnErr := make(map[string]int)
maxRetry := 5
maxRetry := 100

// Attempt to unmount anything beneath this dir first
mount.RecursiveUnmount(dir)
Expand Down

0 comments on commit e18327c

Please sign in to comment.