lockserver

This commit is contained in:
2023-11-25 01:05:22 -06:00
parent 4bc6f900b3
commit 4a718e39e4
4 changed files with 145 additions and 64 deletions

View File

@@ -48,6 +48,11 @@ die() {
errmsg "$*"
exit 1
}
debug() {
if [ "$DEBUG" ] ; then
>&2 printf '>>>>>>>>>DEBUG: %s\n' "$*"
fi
}
isempty() {
for arg in "$@" ; do
# exit in error if file