aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/ssh.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-07-02 16:15:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2014-07-02 16:15:58 +1200
commitf1670c07679f39572ca53ce166b12d51dd003df1 (patch)
tree9e09a88d62bc8b2fd42debfa665484fd71353b61 /bash/bashrc.d/ssh.bash
parentDefault to simply disabling MAILCHECK (diff)
downloaddotfiles-f1670c07679f39572ca53ce166b12d51dd003df1.tar.gz
dotfiles-f1670c07679f39572ca53ce166b12d51dd003df1.zip
Use one-arg form of printf for static strings
Diffstat (limited to 'bash/bashrc.d/ssh.bash')
-rw-r--r--bash/bashrc.d/ssh.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/ssh.bash b/bash/bashrc.d/ssh.bash
index 2daefa72..452a4c97 100644
--- a/bash/bashrc.d/ssh.bash
+++ b/bash/bashrc.d/ssh.bash
@@ -6,7 +6,7 @@ fi
# Wrap scp to check for missing colons
scp() {
if (($# >= 2)) && [[ $* != *:* ]] ; then
- printf '%s\n' 'scp: Missing colon, probably an error' >&2
+ printf 'scp: Missing colon, probably an error\n' >&2
return 1
fi
command scp "$@"