mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-18 18:46:51 +00:00
policycoreutils: semanage: cleanup error on invalid operation
Before you would get: $ semanage fcontext toys /usr/sbin/semanage Invalid command fcontext toys Now you get: $ semanage fcontext toys /usr/sbin/semanage: Invalid command: semanage fcontext toys Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
877447a9e7
commit
2c3e6f6115
@ -427,7 +427,7 @@ Object-specific Options (see above):
|
||||
|
||||
return
|
||||
|
||||
raise ValueError(_("Invalid command") % " ".join(argv))
|
||||
raise ValueError(_("Invalid command: semanage %s") % " ".join(argv))
|
||||
|
||||
#
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user