WANG Chao 791706939e mkdumprd: check return value of subshell
Currently some functions are used in subshell to assign string to a
variable. For example:
 _mnt=$(to_mount "$1")

In this case if we call perror_exit in the subshell, subshell will exit
1, but the parent process (mkdumprd) won't exit.

So we should handle the exit code of a subshell if the subshell calls
perror_exit over a failure.

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2013-07-12 10:02:30 +08:00
2013-01-28 14:02:09 +08:00
2013-04-02 11:35:30 +08:00
2012-05-28 09:50:47 +08:00
2012-07-12 11:15:35 +08:00
2013-02-16 15:19:41 +08:00
2013-04-02 11:35:30 +08:00
Description
Languages
Shell 92.1%
Roff 6.7%
Makefile 1.2%