kdumpctl: drop condrestart subcommand

condrestart is a left over from the time of SysVinit that is no longer
needed since the kexec-tools switched to systemd (10c91a1 ("Removing
sysvinit files") plus the one before). What's especially intriguing is
that from the beginning (0112f36 ("- Add a kdump sysconfig file and init
script - Spec file additions for pre/post install/uninstall")) the
sub-command never did any actual work (other than not returning an
error). Thus simply remove the condrestart sub-command.

Signed-off-by: Philipp Rudo <prudo@redhat.com>
Reviewed-by: Pingfan Liu <piliu@redhat.com>
This commit is contained in:
Philipp Rudo 2023-09-06 10:49:40 +02:00 committed by Coiby Xu
parent b9738affc9
commit 1049e1c79c

View File

@ -1795,8 +1795,6 @@ main()
rebuild)
rebuild
;;
condrestart) ;;
propagate)
propagate_ssh_key
;;