Cannot deploy nothing to nowhere staging
rsync -avz $NOTHING $NOWHERE_STAGING
```rsync -avz nothing nowhere
sending incremental file list
rsync: link_stat "nothing" failed: No such file or directory (2)
sent 18 bytes received 12 bytes 60.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1236) [sender=3.1.1]
## Common Part
Issue can be related to rsync main().
1235 static int copy_argv(char *argv[])
1236 {
1237 int i;
1238
1239 for (i = 0; argv[i]; i++) {
1240 if (!(argv[i] = strdup(argv[i]))) {
1241 rprintf (FERROR, "out of memory at %s(%d)\n",
1242 __FILE__, __LINE__);
1243 return RERR_MALLOC;
1244 }
1245 }
1246
1247 return 0;
1248 }
```
Your mistake is obviously with the deploy command that you are using, you should change:
rsync -avz $NOTHING $NOWHERE_STAGING
to
And then everything works as expected.
Most helpful comment
Your mistake is obviously with the deploy command that you are using, you should change:
to
And then everything works as expected.