Le Thu, 1 May 2014 18:02:20 +0200,
Laurent Bigonville <[email protected]> a écrit :

[...]
>   A maintainer script can for example call the restorecon(8)
> executable to achieve this:
>     [ -x /sbin/restorecon ] && /sbin/restorecon $myfile

I guess the output of restorecon should be redirected to /dev/null, so
this should read:

[ -x /sbin/restorecon ] && /sbin/restorecon $myfile >/dev/null 2>&1

_______________________________________________
SELinux-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel

Reply via email to