2005-01-10 18:18:41 +00:00
|
|
|
--- policycoreutils-1.20.1/restorecon/restorecon.c.rhat 2005-01-07 09:43:00.000000000 -0500
|
|
|
|
+++ policycoreutils-1.20.1/restorecon/restorecon.c 2005-01-10 13:18:06.742707066 -0500
|
|
|
|
@@ -146,7 +146,7 @@
|
|
|
|
if (verbose > 1 ||
|
|
|
|
!only_changed_user(scontext, prev_context))
|
|
|
|
fprintf(stderr,"%s reset context %s:%s->%s\n",
|
|
|
|
- progname, filename, prev_context, scontext);
|
|
|
|
+ progname, filename, (retcontext >= 0 ? prev_context : ""), scontext);
|
2005-01-03 19:18:21 +00:00
|
|
|
}
|
|
|
|
if (retcontext >= 0)
|
|
|
|
freecon(prev_context);
|