mkalldirs (hs->local_file);
if (opt.backups)
rotate_backups (hs->local_file);
- if (hs->restval)
+ if (hs->restval || count > 0)
{
#ifdef __VMS
int open_id;
fp = fopen (hs->local_file, "ab");
#endif /* def __VMS [else] */
}
- else if (ALLOW_CLOBBER || count > 0)
+ else if (ALLOW_CLOBBER)
{
if (opt.unlink && file_exists_p (hs->local_file))
{