mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Remove invalid permissions exception.
Once things like locks are added, this error shouldn't be possible as it will have occurred earlier.
This commit is contained in:
parent
61c2209110
commit
66ba0b5276
1 changed files with 0 additions and 3 deletions
|
|
@ -150,9 +150,6 @@ class Installer(plugins_common.Plugin):
|
|||
self.new_cf += line
|
||||
self.new_cf += sep + new_cf_lines
|
||||
|
||||
if not os.access(self.fn, os.W_OK):
|
||||
raise Exception("Can't write to %s, please re-run as root."
|
||||
% self.fn)
|
||||
with fopen(self.fn, "w") as f:
|
||||
f.write(self.new_cf)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue