diff options
author | EuAndreh <eu@euandre.org> | 2025-07-13 10:45:33 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-07-13 10:48:46 -0300 |
commit | 67dab12f00d2870835ee3776190087698e7dcaf4 (patch) | |
tree | 68f3b52108630d4a54b87fb06771bc0c275053ef | |
parent | meta.capim: Add with :dependencies key (diff) | |
download | eut-main.tar.gz eut-main.tar.xz |
Diffstat (limited to '')
-rw-r--r-- | deps.mk | 1 | ||||
-rwxr-xr-x | src/wstatus | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -24,4 +24,5 @@ sources.sh = \ src/urlid \ src/uuidx \ src/varlist \ + src/wstatus \ diff --git a/src/wstatus b/src/wstatus new file mode 100755 index 0000000..2b5b85e --- /dev/null +++ b/src/wstatus @@ -0,0 +1,9 @@ +#!/bin/sh +set -euo pipefail + +EXITCODE="${1:-}" +shift +eval "$(assert-arg -- "$EXITCODE" 'EXITCODE')" + +"$@" ||: +exit "$EXITCODE" |