_cleanup_(progress_info_free) ProgressInfo progress = {};
_cleanup_free_ char *l = NULL, *final_path = NULL;
const char *path = NULL, *local = NULL, *dest = NULL;
- _cleanup_close_ int open_fd = -1;
+ _cleanup_close_ int open_fd = -EBADF;
int r, fd;
if (argc >= 2)