Project

General

Profile

« Previous | Next » 

Revision 13275

lib/sh/util.sh: try: usage: added location of finally block

View differences:

util.sh
392 392
fi # load new aliases
393 393
if self_being_included; then
394 394

  
395
# usage: try cmd...; ignore_e status; if catch status; then ...; fi; end_try
395
# usage: try cmd...; ignore_e status; if catch status; then ...; fi; \
396
# finally...; end_try
396 397

  
397 398
alias prep_try='declare e=0 benign_error="$benign_error"'
398 399

  

Also available in: Unified diff