diff options
Diffstat (limited to 'pdksh/pdkshrc.d/scp.pdksh')
-rw-r--r-- | pdksh/pdkshrc.d/scp.pdksh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pdksh/pdkshrc.d/scp.pdksh b/pdksh/pdkshrc.d/scp.pdksh deleted file mode 100644 index c3565f21..00000000 --- a/pdksh/pdkshrc.d/scp.pdksh +++ /dev/null @@ -1,9 +0,0 @@ -# Wrap scp(1) to check for missing colons -scp() { - # shellcheck disable=SC2048 - if (($# >= 2)) && [[ $* != *:* ]] ; then - printf 'ksh: scp: Missing colon, probably an error\n' >&2 - return 2 - fi - command scp "$@" -} |