summaryrefslogtreecommitdiff
path: root/src/statusf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-05-09 15:56:27 -0300
committerEuAndreh <eu@euandre.org>2024-05-09 15:56:27 -0300
commitdf248206c442f6fbf96ae15b467a05b234fd66f6 (patch)
treec73643ab607db2bd70a729b4cbaf18857988682f /src/statusf
parentsrc/statusconv: Add working utility (diff)
downloadeut-df248206c442f6fbf96ae15b467a05b234fd66f6.tar.gz
eut-df248206c442f6fbf96ae15b467a05b234fd66f6.tar.xz
clock, minutes, round, statusf: Add working utilities
Diffstat (limited to 'src/statusf')
-rwxr-xr-xsrc/statusf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/statusf b/src/statusf
new file mode 100755
index 0000000..2e799cf
--- /dev/null
+++ b/src/statusf
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+STATUS=0
+"$@" || STATUS=$?
+printf '%s\n' > "$1"