Skip to content

Commit dc90316

Browse files
committed
no findmnt
1 parent f938e2a commit dc90316

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

try

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ export TRY_COMMAND
2626
try() {
2727
START_DIR="$PWD"
2828

29-
if ! command -v findmnt >/dev/null
30-
then
31-
error "findmnt not found, please install util-linux" "$TRY_COMMAND" 2
32-
fi
33-
3429
if [ "$SANDBOX_DIR" ]
3530
then
3631
## If the name of a sandbox is given then we need to exit prematurely if its directory doesn't exist
@@ -78,7 +73,6 @@ try() {
7873
DIRS_AND_MOUNTS="$SANDBOX_DIR"/mounts
7974
export DIRS_AND_MOUNTS
8075
find / -maxdepth 1 >"$DIRS_AND_MOUNTS"
81-
findmnt --real -r -o target -n >>"$DIRS_AND_MOUNTS"
8276
sort -u -o "$DIRS_AND_MOUNTS" "$DIRS_AND_MOUNTS"
8377

8478
# Calculate UPDATED_DIRS_AND_MOUNTS that contains the merge arguments in LOWER_DIRS

0 commit comments

Comments
 (0)