diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-07-02 16:15:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-07-02 16:15:58 +1200 |
commit | f1670c07679f39572ca53ce166b12d51dd003df1 (patch) | |
tree | 9e09a88d62bc8b2fd42debfa665484fd71353b61 /bash/bashrc.d/ssh.bash | |
parent | Default to simply disabling MAILCHECK (diff) | |
download | dotfiles-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.bash | 2 |
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 "$@" |