about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xmrgrctrnl3
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
54awk '{sub(/#.*$/,"");print}' "$config" |
54while read -r machine user local remote 55while read -r machine user local remote
55do 56do
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 &
62done < "$config" 63done
63 64
64wait 65wait