diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2015-04-13 07:20:56 -0700 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2015-04-13 07:20:56 -0700 |
commit | f426970136c83baf71c089b758319643a2a72986 (patch) | |
tree | e128b6dbfc92ab8d2d000eca5a980f5c5f67943b | |
parent | 63f3763e5fb81afbf5ce70b756fbc90ad1909843 (diff) | |
download | parssh-f426970136c83baf71c089b758319643a2a72986.tar.gz parssh-f426970136c83baf71c089b758319643a2a72986.tar.bz2 |
fix quoting issue so .out and .err files are properly tested
...and so that we don't have '.{out,err}' files laying around lol
-rw-r--r-- | pars.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ parssh () { unset _parssh_prepend_host ;; o|-out) - touch "${2}.{out,err}" || { + touch "${2}."{out,err} || { echo "'${2}.{out,err}': unable to write / modify file" return 97 } @@ -50,7 +50,7 @@ parssh () { shift ;; t|-tee) - touch "${2}.{out,err}" || { + touch "${2}."{out,err} || { echo "'${2}.{out,err}': unable to write / modify file" return 96 } |