diff options
-rwxr-xr-x | mrgrctrnl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mrgrctrnl b/mrgrctrnl index 8b6c10d..131894e 100755 --- a/mrgrctrnl +++ b/mrgrctrnl | |||
@@ -51,6 +51,7 @@ shift "$((OPTIND - 1))" | |||
51 | rm "$pidf" | 51 | rm "$pidf" |
52 | } | 52 | } |
53 | 53 | ||
54 | awk '{sub(/#.*$/,"");print}' "$config" | | ||
54 | while read -r machine user local remote | 55 | while read -r machine user local remote |
55 | do | 56 | do |
56 | while : | 57 | while : |
@@ -59,6 +60,6 @@ do | |||
59 | echo "$!" >> "$pidf" | 60 | echo "$!" >> "$pidf" |
60 | sleep 3 | 61 | sleep 3 |
61 | done & | 62 | done & |
62 | done < "$config" | 63 | done |
63 | 64 | ||
64 | wait | 65 | wait |