Kaydet (Commit) 4802331a authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

ignore error silently

üst a0d1e359
......@@ -1027,7 +1027,10 @@ def cleanupVar():
for root,dirs,files in os.walk("/var/run"):
for f in files:
if f != "utmp" and f != "random-seed":
os.unlink(os.path.join(root, f))
try:
os.unlink(os.path.join(root, f))
except OSError:
pass
def cleanupTmp():
ui.info(_("Cleaning up /tmp"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment