Ver código fonte

Continue if no reciprocals

Bob Mottram 9 anos atrás
pai
commit
cdba99d24e
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9
    0
      src/freedombone-remote

+ 9
- 0
src/freedombone-remote Ver arquivo

201
                           remote_ssh_reciprocal_password=""
201
                           remote_ssh_reciprocal_password=""
202
                           entering_remote_backups_ctr=$((entering_remote_backups_ctr + 1))
202
                           entering_remote_backups_ctr=$((entering_remote_backups_ctr + 1))
203
                       fi
203
                       fi
204
+                  else
205
+                      echo "$remote_ssh_username@$remote_ssh_domain:$remote_ssh_port//home/$remote_ssh_username $remote_ssh_password" >> $FRIENDS_SERVERS_LIST
206
+                      remote_ssh_username=""
207
+                      remote_ssh_domain=""
208
+                      remote_ssh_port=""
209
+                      remote_ssh_password=""
210
+                      remote_ssh_reciprocal_username=""
211
+                      remote_ssh_reciprocal_password=""
212
+                      entering_remote_backups_ctr=$((entering_remote_backups_ctr + 1))
204
                   fi
213
                   fi
205
               else
214
               else
206
                   echo "$remote_ssh_username@$remote_ssh_domain:$remote_ssh_port//home/$remote_ssh_username $remote_ssh_password" >> $FRIENDS_SERVERS_LIST
215
                   echo "$remote_ssh_username@$remote_ssh_domain:$remote_ssh_port//home/$remote_ssh_username $remote_ssh_password" >> $FRIENDS_SERVERS_LIST