Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker.13547
pacemaker-crm_resource-without-arguments.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crm_resource-without-arguments.patch of Package pacemaker.13547
commit 0210126b515466203e0c36750ca431d921201573 Author: Ken Gaillot <kgaillot@redhat.com> Date: Fri Oct 6 17:22:47 2017 -0500 Low: tools: allow crm_resource to be called without arguments rsc_cmd defaults to 'L', so it doesn't make sense to error out diff --git a/tools/crm_resource.c b/tools/crm_resource.c index 021df7b08..3643e4bb2 100644 --- a/tools/crm_resource.c +++ b/tools/crm_resource.c @@ -388,10 +388,6 @@ main(int argc, char **argv) crm_set_options(NULL, "(query|command) [options]", long_options, "Perform tasks related to cluster resources.\nAllows resources to be queried (definition and location), modified, and moved around the cluster.\n"); - if (argc < 2) { - crm_help('?', EX_USAGE); - } - while (1) { flag = crm_get_option_long(argc, argv, &option_index, &longname); if (flag == -1)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor