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 c80508e commit 366bddeCopy full SHA for 366bdde
format-udf.sh
@@ -230,6 +230,7 @@ echo " using $TOOL_DRIVE_LISTING"
230
echo -n "[+] Looking for unmount tool..."
231
# `true` is so that a failure here doesn't cause entire script to exit prematurely
232
TOOL_UMOUNT=$(which umount 2>/dev/null) || true
233
+# NOTE: 'TOOL_DISKUTIL' has already been set above. no need to set it again here.
234
# prefer 'diskutil' if available, as it's required on OS X (even if 'umount' is present)
235
if [[ -x "$TOOL_DISKUTIL" ]]; then
236
TOOL_UNMOUNT=$TOOL_DISKUTIL
0 commit comments