Bug 977257 - mkdumprd: perror_exit does not exit
Summary: mkdumprd: perror_exit does not exit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kexec-tools
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: WANG Chao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-24 07:40 UTC by Dave Young
Modified: 2013-07-22 07:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-22 07:04:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Young 2013-06-24 07:40:34 UTC
Description of problem:

Vivek found that perror_exit actually does not exit sometimes.
This is because such as a=$(b c), support exit in function b, because b is called in a subshell, so the parent shell does not exit.

It should be fixed in caller side, check and explicitly exit.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.