[PATCH 1/2] Fix typo logging failure to get default file context.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 isys/isys.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/isys/isys.py b/isys/isys.py
index df7fb8f..14d2a5d 100755
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -603,7 +603,7 @@ def matchPathContext(fn):
     try:
         con = selinux.matchpathcon(os.path.normpath(fn), 0)[1]
     except OSError:
-        log.info("failed to get default SELinux context for %s" % f)
+        log.info("failed to get default SELinux context for %s" % fn)
     return con
 
 ## Set the SELinux file context of a file
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux