diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2016-10-19 01:01:53 +0200 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2016-10-18 23:15:11 +0000 |
commit | dbe4baf278183852fced3eb3b5e34dc94fb39281 (patch) | |
tree | f70ed75f02e40383ce6bf46371111a7308fd72d9 /templates/base | |
parent | 38b186d722501d06dde0b371e14e2cc2e0b9a70d (diff) |
Fix aglsetup always succeeded regardless of whether errors or not
The aglsetup is always succeeded regardless of whether
got errors while executing sub scripts or not.
This is caused by following script.
call_func 2>&1 | tee xxxx.log
The result of this line always becomes 0 (succeeded) by
result of command 'tee'.
The '$PIPESTATUS[]' should be used for this case.
Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'templates/base')
0 files changed, 0 insertions, 0 deletions