Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker
bug-961392_pacemaker-crm_shadow-sh-noprofile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-961392_pacemaker-crm_shadow-sh-noprofile.patch of Package pacemaker
commit b4f06bdae68ba0cd264afdca888876987fefe3e2 Author: Gao,Yan <ygao@suse.com> Date: Tue Jan 12 12:18:21 2016 +0100 Fix: crm_shadow: Do not invoke shells with --noprofile option other than bash Previously, shells that don't support --noprofile option failed to be invoked. So far as I've seen, only bash supports --noprofile option. diff --git a/tools/cib_shadow.c b/tools/cib_shadow.c index 000b0b0..845486c 100644 --- a/tools/cib_shadow.c +++ b/tools/cib_shadow.c @@ -78,7 +78,7 @@ shadow_setup(char *name, gboolean do_switch) if (strstr(shell, "bash")) { execl(shell, shell, "--norc", "--noprofile", NULL); } else { - execl(shell, shell, "--noprofile", NULL); + execl(shell, shell, NULL); } } else if (do_switch) {
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