works yay

This commit is contained in:
j 2025-08-15 08:54:26 +10:00
parent bf21c1b469
commit 363cec25b7
9 changed files with 127 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
## A helper script that exports a function in asd
## Scripts run by asd can then use failout
## Saves definining it for every script.
failout() {
[ -z $MSG ] || echo $MSG
exit 1
}