distgit: One more case of error handling
This commit is contained in:
parent
f49e0abe06
commit
9b1e60ece2
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def main():
|
|||
|
||||
except OSError as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise e
|
||||
send_error(str(e))
|
||||
|
||||
# The file already existed at the old path, hardlink over it
|
||||
os.unlink(old_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue