Project

General

Profile

« Previous | Next » 

Revision 13348

lib/sh/util.sh: added is_err()

View differences:

util.sh
390 390
rethrow!() { rethrow && false; } # always errexit, even if $e = 0
391 391
rethrow_exit() { rethrow || exit; } # exit even where errexit disabled
392 392

  
393
is_err() { rethrow; }
394

  
393 395
fi # load new aliases
394 396
if self_being_included; then
395 397

  

Also available in: Unified diff