Skip to content

Commit 8e11640

Browse files
Fixes unmount on macOS ("-q" isn't a supported argument for umount)
> see #54 Co-Authored-By: Samuel FORESTIER <[email protected]>
1 parent 36ee61e commit 8e11640

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Unmount on macOS
13+
1014
## [0.6.0] - 2025-08-06
1115

1216
### Added

sshubl/ssh_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ def _settings():
5353
umount_flags: typing.Tuple[str, ...] = ("-q", "-u")
5454
else:
5555
umount_program = umount_program or shutil.which("umount")
56-
umount_flags = ("-q",)
56+
if platform.system() != "Darwin":
57+
umount_flags = ("-q",)
58+
else:
59+
umount_flags = ()
5760

5861

5962
class PasswordlessConnectionException(Exception):

0 commit comments

Comments
 (0)