Browse Source

rtpengine-ctl: use $0 as name in help output

pull/60/head
Richard Fuchs 11 years ago
parent
commit
a8e55822d2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      utils/rtpengine-ctl

+ 2
- 2
utils/rtpengine-ctl View File

@ -10,7 +10,7 @@ prgdir=${0%$prgname}
showusage() {
echo ""
echo " rectl [ -ip <ipaddress> -port <port> ] <command>"
echo " $0 [ -ip <ipaddress> -port <port> ] <command>"
echo ""
echo " Supported commands are:"
echo ""
@ -36,7 +36,7 @@ if [ $# -eq 0 ]; then showusage; fi
command -v nc 2>&1 >/dev/null
if [ $? -ne 0 ]; then
echo "Error: rectl requires netcat to be installed."
echo "Error: $0 requires netcat to be installed."
exit 0
fi


Loading…
Cancel
Save