Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
TIG 2017-10-23
Description
The expansion key set_sudo can cause an errexit, since it uses the following logic:
set -o | grep errexit | grep on
|
It would better if we did the following:
set -o > /tmp/settings.log
|
set +o errexit
|
grep errexit /tmp/settings.log | grep on
|
errexit_on=$?
|