On exit install

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_on_exit_install

Purpose

Install the SolidGroundUX exit trap dispatcher once for the current shell.

Returns

0 when the EXIT trap was already installed or trap registration succeeds.

Usage

  sgnd_on_exit_install