Skip to content

Commit

Permalink
destroot_finish: catch errors from fs_clone_capable
Browse files Browse the repository at this point in the history
(cherry picked from commit aa60115)
  • Loading branch information
jmroot committed Oct 31, 2024
1 parent d87edd0 commit 3f1c755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port1.0/portdestroot.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ proc portdestroot::destroot_finish {args} {

# Work around apparent filesystem bug.
# https://trac.macports.org/ticket/67336
if {[fs_clone_capable $destroot]} {
if {![catch {fs_clone_capable $destroot} result] && $result} {
global workpath
ui_debug "Applying sparse file lseek bug workaround"
try {
Expand Down

0 comments on commit 3f1c755

Please sign in to comment.