diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-02-18 10:28:38 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-02-18 10:28:38 +0100 |
commit | da6986dc0a5750751d28a699d077adba5af5c628 (patch) | |
tree | fdbe6bda8d7b4937df838d354f89ce43c073aa89 /server/lib/ogfunctions.sh | |
parent | bd4a17ff40129aa85f5fd3b1ffb93056eb22e36c (diff) |
#957: Script `listclientlive` uses common server functions.
Diffstat (limited to 'server/lib/ogfunctions.sh')
-rwxr-xr-x | server/lib/ogfunctions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/ogfunctions.sh b/server/lib/ogfunctions.sh index f1b9e555..30da3107 100755 --- a/server/lib/ogfunctions.sh +++ b/server/lib/ogfunctions.sh @@ -10,6 +10,7 @@ # Showing an error message. function raiseError() { + [ "$PROG" ] || PROG="$(basename "$0")" case "$1" in usage) echo "$PROG: Usage error: Type \"$PROG help\"" >&2 |