You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If pishrink does not leave properly, the loop device remains open. Memory is blocked until the loop device is deleted. A trap handler could solve this Problem.
function cleanup() {
losetup -d "$loopback"
}
trap cleanup SIGINT SIGTERM EXIT
Please check and implement if necessary.
The text was updated successfully, but these errors were encountered:
@kmbach I like your proposal and modified pishrink in my fork. Please test whether it's working as expected. If yes, let me know and I will create a PR.
If pishrink does not leave properly, the loop device remains open. Memory is blocked until the loop device is deleted. A trap handler could solve this Problem.
function cleanup() {
losetup -d "$loopback"
}
trap cleanup SIGINT SIGTERM EXIT
Please check and implement if necessary.
The text was updated successfully, but these errors were encountered: