Skip to content

Commit

Permalink
Update usb_read_write.py
Browse files Browse the repository at this point in the history
Correct the blank line
  • Loading branch information
Jefferyyen authored Nov 26, 2024
1 parent 18559f5 commit d15a489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checkbox-support/checkbox_support/scripts/usb_read_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ def mount_usb_storage(partition):

# Unmounting the folder ignoring any "not mounted" error messages.
subprocess.call(["umount", FOLDER_TO_MOUNT], stderr=subprocess.PIPE)

# Unmounting the device (e.g., "/dev/mmcblk0p1") to ensure the storage
# device is fully detached. This prevents issues with certain
# filesystem types like NTFS, which cannot be mounted multiple times.
subprocess.call(["umount", device_to_mount], stderr=subprocess.PIPE)

# mount the target device/partition
# if the return code of the shell command is non-zero,
# means something wrong.
Expand Down

0 comments on commit d15a489

Please sign in to comment.