Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
1148250 - errror in rhncfg if selinux off, rhel 5, and new libselinux…
Browse files Browse the repository at this point in the history
…-python
  • Loading branch information
sdherr committed Oct 3, 2014
1 parent d90b573 commit 102ffed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/tools/rhncfg/config_common/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def make_stat_info(self, path, file_stat):
selinux_ctx = lgetfilecon(path)[1]
except OSError:
selinux_ctx = ''
if selinux_ctx == None:
selinux_ctx = ''

ret['selinux_ctx'] = selinux_ctx

Expand Down

0 comments on commit 102ffed

Please sign in to comment.