Skip to content

Commit

Permalink
ext: Do elevated unmount on WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Jun 27, 2024
1 parent 7295acc commit 5f52a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/ext
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ case ${1?} in
sudo umount /mnt/scratch-baduser
fi
sudo cryptsetup luksClose "$label"
if is-wsl; then
wsl_act unmount
fi
;;
*)
printf 'Unknown command: "%s"\n' "$1" >&2
Expand Down

0 comments on commit 5f52a62

Please sign in to comment.