Skip to content

Commit 7fc4e19

Browse files
committed
Don't log an error when symlink file doesn't exist
1 parent 53de3f8 commit 7fc4e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/projects/symlinks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,5 @@ def remove_symlink_single_version(version):
120120
msg="Removing symlink for single_version")
121121
)
122122
symlink = version.project.single_version_symlink_path()
123-
run_on_app_servers('rm %s' % symlink)
123+
run_on_app_servers('rm -f %s' % symlink)
124124

0 commit comments

Comments
 (0)