aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/setfiles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 51a7e63bd..c9597d54e 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -577,13 +577,13 @@ int setfiles_main(int argc UNUSED_PARAM, char **argv)
577 577
578 set_matchpathcon_flags(matchpathcon_flags); 578 set_matchpathcon_flags(matchpathcon_flags);
579 579
580 opt_complementary = "e::vv:v--p:p--v:v--q:q--v"; 580 opt_complementary = "vv:v--p:p--v:v--q:q--v";
581 /* Option order must match OPT_x definitions! */ 581 /* Option order must match OPT_x definitions! */
582 if (applet_name[0] == 'r') { /* restorecon */ 582 if (applet_name[0] == 'r') { /* restorecon */
583 flags = getopt32(argv, "de:f:ilnpqrsvo:FWR", 583 flags = getopt32(argv, "de:*f:ilnpqrsvo:FWR",
584 &exclude_dir, &input_filename, &out_filename, &verbose); 584 &exclude_dir, &input_filename, &out_filename, &verbose);
585 } else { /* setfiles */ 585 } else { /* setfiles */
586 flags = getopt32(argv, "de:f:ilnpqr:svo:FW" 586 flags = getopt32(argv, "de:*f:ilnpqr:svo:FW"
587 IF_FEATURE_SETFILES_CHECK_OPTION("c:"), 587 IF_FEATURE_SETFILES_CHECK_OPTION("c:"),
588 &exclude_dir, &input_filename, &rootpath, &out_filename, 588 &exclude_dir, &input_filename, &rootpath, &out_filename,
589 IF_FEATURE_SETFILES_CHECK_OPTION(&policyfile,) 589 IF_FEATURE_SETFILES_CHECK_OPTION(&policyfile,)