diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2015-01-23 10:35:25 -0800 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2015-01-23 10:35:25 -0800 |
commit | 110e5d9e5ebb9237adcc2d4c90ed18d829ed7d28 (patch) | |
tree | a24e08d86821ed1e98e26eaca08789ff84b4649d /pars.sh | |
parent | a3199903b64115b9d83493b46ea2a0a1ca6c18db (diff) | |
download | parssh-110e5d9e5ebb9237adcc2d4c90ed18d829ed7d28.tar.gz parssh-110e5d9e5ebb9237adcc2d4c90ed18d829ed7d28.tar.bz2 |
avoid inadvertant pervasiveness of concurrency flag
Diffstat (limited to 'pars.sh')
-rw-r--r-- | pars.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,9 +1,8 @@ #!/bin/bash -parssh () -{ +parssh () { [[ "$1" == -[0-9]* && "$1" != *[^0-9-]* ]] && { - parssh_concurrency=${1#-} + local parssh_concurrency=${1#-} shift } while read host; do |