Skip to content

Commit

Permalink
Merge ea8ba38 into a8bf455
Browse files Browse the repository at this point in the history
  • Loading branch information
astj committed Jun 20, 2019
2 parents a8bf455 + ea8ba38 commit a02b2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/filesystem.go
Expand Up @@ -53,7 +53,7 @@ func init() {
KillAfter: 1 * time.Second,
}
exitSt, _, stderr, err := tio.Run()
if err == nil && exitSt.Code != 0 && strings.Contains(stderr, "df: invalid option -- ") {
if err == nil && exitSt.Code != 0 && (strings.Contains(stderr, "df: invalid option -- ") || strings.Contains(stderr, "df: unrecognized option: ")) {
dfOpt = "-k"
}
}
Expand Down

0 comments on commit a02b2f2

Please sign in to comment.