We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572f146 commit d16856fCopy full SHA for d16856f
src/Backup/Sync/Rsync.php
@@ -148,12 +148,12 @@ public function sync(Target $target, Result $result)
148
149
// target handling
150
$syncTarget = '';
151
- // remote user
152
- if (null !== $this->user) {
153
- $syncTarget .= $this->user . '@';
154
- }
155
// remote host
156
if (null !== $this->host) {
+ // remote user
+ if (null !== $this->user) {
+ $syncTarget .= $this->user . '@';
+ }
157
$syncTarget .= $this->host . ':';
158
}
159
// remote path
0 commit comments