X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3d38277706a5155d57563d1221e7233d8159470a..b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31:/backup.c diff --git a/backup.c b/backup.c index 88f9eaed..9c6fd894 100644 --- a/backup.c +++ b/backup.c @@ -197,7 +197,7 @@ static int keep_backup(char *fname) if (do_stat (fname, &st)) return 1; #endif - file = make_file (0, fname, 0); + file = make_file (-1, fname, 0); /* make a complete pathname for backup file */ if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1)) {