various
This commit is contained in:
parent
b057929c56
commit
5d67f27a7e
2 changed files with 11 additions and 2 deletions
|
@ -4,6 +4,13 @@ function container_exec() {
|
|||
podman_exec $@
|
||||
}
|
||||
|
||||
function create_tmp_file() {
|
||||
name="$1"
|
||||
tmp_path="/tmp/$@_$(date +%s)_$name"
|
||||
touch "$tmp_path"
|
||||
echo "$tmp_path"
|
||||
}
|
||||
|
||||
function die() {
|
||||
say error "$@"
|
||||
exit 255
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue