Index: main.c =================================================================== RCS file: /cvsroot/rsync/main.c,v retrieving revision 1.295 diff -u -r1.295 main.c --- main.c 20 Feb 2006 17:16:21 -0000 1.295 +++ main.c 22 Feb 2006 23:19:29 -0000 @@ -457,6 +457,11 @@ flist->count, NS(dest_path)); } + if (list_only) + /* We aren't actually receiving anything, so the local name is + * never used. Don't try to create the destination. */ + return NULL; + if (!dest_path) return NULL;