Skip to content

Commit

Permalink
fix issue #105
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivailo Monev committed Jul 20, 2015
1 parent 6344922 commit 1bdd5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def main():
message.sub_info('Running HOOK')
misc.chroot_exec(('/hook'))
finally:
if os.path.isfie(hook_file):
os.unlink(hook_file)
if os.path.isfile(hook_file):
os.unlink(hook_file)

0 comments on commit 1bdd5a4

Please sign in to comment.