Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Fix bug when deleting setup-running file (when a fatal error is issued)
Browse files Browse the repository at this point in the history
  • Loading branch information
karasu committed Jan 9, 2019
1 parent 18e9ca1 commit 914aa3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

""" Set some Cnchi global constants """

CNCHI_VERSION = "0.16.47"
CNCHI_VERSION = "0.16.48"
""" Cnchi version """

CNCHI_WEBSITE = "http://www.antergos.com"
Expand Down
3 changes: 2 additions & 1 deletion src/show_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def fatal_error(parent, my_message):

path = "/var/tmp/cnchi/.setup-running"
if os.path.exists(path):
os.remove(path)
with misc.raised_privileges():
os.remove(path)

# multiprocessing.active_children()

Expand Down
2 changes: 1 addition & 1 deletion update.info
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{"version":"0.16.47","files":[
{"version":"0.16.48","files":[
]}

0 comments on commit 914aa3e

Please sign in to comment.