Skip to content

Commit

Permalink
retain interrupted state
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Jul 31, 2023
1 parent 3262f8e commit 68d5c34
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ private boolean isFusermount3Installed() {
ProcessHelper.waitForSuccess(p, 2, String.format("`%s -V`", UNMOUNT_CMD_NAME));
return true;
} catch (IOException | TimeoutException | InterruptedException | ProcessHelper.CommandFailedException e) {
if( e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
return false;
}
}
Expand Down

0 comments on commit 68d5c34

Please sign in to comment.