|
From: <ssm...@us...> - 2008-01-25 19:00:52
|
Revision: 2760
http://selinux.svn.sourceforge.net/selinux/?rev=2760&view=rev
Author: ssmalley
Date: 2008-01-25 11:00:51 -0800 (Fri, 25 Jan 2008)
Log Message:
-----------
Author: Marshall Miller
Email: mm...@tr...
Subject: fixfiles -C: behave as advertised
Date: Thu, 24 Jan 2008 16:25:17 -0500
This patch makes fixfiles -C <file> (restore|check|verify|relabel) behave as advertised.
Marshall Miller
Modified Paths:
--------------
trunk/policycoreutils/scripts/fixfiles
Modified: trunk/policycoreutils/scripts/fixfiles
===================================================================
--- trunk/policycoreutils/scripts/fixfiles 2008-01-25 18:58:56 UTC (rev 2759)
+++ trunk/policycoreutils/scripts/fixfiles 2008-01-25 19:00:51 UTC (rev 2760)
@@ -92,7 +92,7 @@
! \( -fstype ext2 -o -fstype ext3 -o -fstype ext4 -o -fstype ext4dev -o -fstype gfs2 -o -fstype jfs -o -fstype xfs \) -prune -o \
\( -wholename /home -o -wholename /root -o -wholename /tmp -wholename /dev \) -prune -o -print0"; \
done 2> /dev/null | \
- ${RESTORECON} $2 -0 -f -
+ ${RESTORECON} $* -0 -f -
rm -f ${TEMPFILE} ${PREFCTEMPFILE}
fi
}
@@ -117,7 +117,7 @@
#
restore () {
if [ ! -z "$PREFC" ]; then
- diff_filecontext $1
+ diff_filecontext $*
exit $?
fi
if [ ! -z "$RPMFILES" ]; then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|