We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f938e2a commit dc90316Copy full SHA for dc90316
try
@@ -26,11 +26,6 @@ export TRY_COMMAND
26
try() {
27
START_DIR="$PWD"
28
29
- if ! command -v findmnt >/dev/null
30
- then
31
- error "findmnt not found, please install util-linux" "$TRY_COMMAND" 2
32
- fi
33
-
34
if [ "$SANDBOX_DIR" ]
35
then
36
## 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() {
78
73
DIRS_AND_MOUNTS="$SANDBOX_DIR"/mounts
79
74
export DIRS_AND_MOUNTS
80
75
find / -maxdepth 1 >"$DIRS_AND_MOUNTS"
81
- findmnt --real -r -o target -n >>"$DIRS_AND_MOUNTS"
82
76
sort -u -o "$DIRS_AND_MOUNTS" "$DIRS_AND_MOUNTS"
83
77
84
# Calculate UPDATED_DIRS_AND_MOUNTS that contains the merge arguments in LOWER_DIRS
0 commit comments