Simplify __main() logic

This commit is contained in:
cryobry
2020-05-09 14:18:56 -04:00
parent 903eb8dcdb
commit 1d3bbe441d
2 changed files with 63 additions and 47 deletions

View File

@@ -105,3 +105,15 @@ fixPermissions () {
# Allow container access to the workdir (SELinux)
chcon -t container_file_t -R "$1"
}
debug () {
[[ -n $_debug ]] && echo "debug: " "$@"
}
silent () {
[[ -z $_silent ]] && echo "$@"
}