typo
This commit is contained in:
parent
a49b4713a4
commit
cc307ae6ab
@ -60,11 +60,11 @@ def run():
|
|||||||
try:
|
try:
|
||||||
os.remove(target_resolv)
|
os.remove(target_resolv)
|
||||||
except Error as err:
|
except Error as err:
|
||||||
libcalamares.utils.debug("Couldn't remove {}: {}".format(target_resolv, err))
|
libcalamares.utils.debug("Couldn't remove {}: {}".format(target_resolv, err))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
shutil.copy(source_resolv, target_resolv)
|
shutil.copy(source_resolv, target_resolv)
|
||||||
except Error as err:
|
except Error as err:
|
||||||
+ libcalamares.utils.debug("Can't copy resolv.conf from {}: {}".format(source_resolv, err))
|
libcalamares.utils.debug("Can't copy resolv.conf from {}: {}".format(source_resolv, err))
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user