10 lines
196 B
Bash
10 lines
196 B
Bash
#!/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
|
|
}
|