comparison sbin/ftjail @ 730:8f1583faf9ea

farray.sh: Rename farray_destroy() to farray_release() and falist_destroy() to falist_release()
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 07 Oct 2024 12:57:29 +0200
parents 425b1ae264a9
children e2f262ec2bf4
comparison
equal deleted inserted replaced
729:05a325c7d5c5 730:8f1583faf9ea
1122 _rc=1 1122 _rc=1
1123 fi 1123 fi
1124 # Warnings do not influence the return code 1124 # Warnings do not influence the return code
1125 _print_check_warnings _warnings 1125 _print_check_warnings _warnings
1126 1126
1127 farray_destroy _errors 1127 farray_release _errors
1128 farray_destroy _warnings 1128 farray_release _warnings
1129 falist_destroy _opt_snapshots 1129 falist_release _opt_snapshots
1130 return ${_rc} 1130 return ${_rc}
1131 } 1131 }
1132 1132
1133 1133
1134 #: 1134 #:
1426 echo "Cleaning up...""" 1426 echo "Cleaning up..."""
1427 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}" 1427 [ -n "${_u_tmpdir}" ] && [ -d "${_u_tmpdir}" ] && rm -rvf "${_u_tmpdir}"
1428 fi 1428 fi
1429 echo "Done." 1429 echo "Done."
1430 1430
1431 falist_destroy _opt_snapshots 1431 falist_release _opt_snapshots
1432 } 1432 }
1433 1433
1434 1434
1435 # 1435 #
1436 # Global option handling 1436 # Global option handling