mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: curb free_loop_device_retried()'s logging on first try
This commit is contained in:
@@ -100,6 +100,8 @@ function free_loop_device_insistent() {
|
||||
}
|
||||
|
||||
function free_loop_device_retried() {
|
||||
display_alert "Freeing loop device (try ${RETRY_RUNS})" "${1}"
|
||||
if [[ ${RETRY_RUNS} -gt 1 ]]; then
|
||||
display_alert "Freeing loop device (try ${RETRY_RUNS})" "${1}"
|
||||
fi
|
||||
losetup -d "${1}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user