summaryrefslogtreecommitdiffstats
path: root/server/lib
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-02-18 10:28:38 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-02-18 10:28:38 +0100
commitda6986dc0a5750751d28a699d077adba5af5c628 (patch)
treefdbe6bda8d7b4937df838d354f89ce43c073aa89 /server/lib
parentbd4a17ff40129aa85f5fd3b1ffb93056eb22e36c (diff)
#957: Script `listclientlive` uses common server functions.
Diffstat (limited to 'server/lib')
-rwxr-xr-xserver/lib/ogfunctions.sh1
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