Skip to content
Permalink
Browse files

Merge pull request #35 from pebenito/master

genhomedircon.py: Fix top-level exception handling.
  • Loading branch information...
pebenito committed Mar 17, 2019
2 parents c46eba9 + 0af9925 commit af68a29b4202d0d13453fd0f3ffc959c21f19f9a
Showing with 2 additions and 6 deletions.
  1. +2 −6 support/genhomedircon.py
@@ -486,9 +486,5 @@ def write(self):
selconf=selinuxConfig(directory, setype, usepwd)
selconf.write()

except getopt.error as error:
errorExit("Options Error " + error)
except ValueError as error:
errorExit("ValueError " + error)
except IndexError:
errorExit("IndexError")
except Exception as error:
errorExit(error)

0 comments on commit af68a29

Please sign in to comment.
You can’t perform that action at this time.