diff options
-rwxr-xr-x | rsyncd-scp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsyncd-scp.sh b/rsyncd-scp.sh index de54a8e..c96cfb4 100755 --- a/rsyncd-scp.sh +++ b/rsyncd-scp.sh @@ -7,7 +7,7 @@ path=${1#*:} dst=$2 if [[ -z $1 || -z $2 ]]; then - echo "${0%%*/}: <host:src> <dst>" + echo "${0##*/}: <host:src> <dst>" exit 0 fi |