utils: matchpathcon add deprecated warning
Add a deprecated warning to matchpathcon encouraging users to switch to selabel_lookup. Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
327ec8eb18
commit
c7020954ca
|
@ -73,6 +73,9 @@ int main(int argc, char **argv)
|
|||
int error = 0;
|
||||
int quiet = 0;
|
||||
|
||||
fprintf(stderr,
|
||||
"Deprecated, use selabel_lookup\n");
|
||||
|
||||
if (argc < 2)
|
||||
usage(argv[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue