Persist and display an action result

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_console_record_action_result

Purpose

Save the status and timestamp of a completed action and reflect the result in the current menu.

Arguments

  • $1 ITEM_KEY - Registered menu item key.
  • $2 RC - Handler exit status (defaults to 1).

Usage

  sgnd_console_record_action_result "<item_key>" "<rc>"