Skip to content

Commit c4deae8

Browse files
authored
minor fixes
1 parent 1bb66b6 commit c4deae8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ can be refactored as below
321321
322322
set +e
323323
if _do_some_critical_check; then
324-
echo "Oh, it's better now"
324+
echo "Something has gone very well."
325325
fi
326-
echo "Oh, you will always see this line."
326+
echo "You will see this line."
327327
```
328328
329329
Now, if you expect to stop the script when `_do_some_critical_check` fails
@@ -333,9 +333,9 @@ Okay, these lines are the correct one
333333
334334
```bash
335335
336-
set -e
336+
set +e
337337
if _do_some_critical_check; then
338-
echo "Oh, it's better now"
338+
echo "All check passed."
339339
else
340340
echo "Something wrong we have to stop here"
341341
exit 1 # or return 1

0 commit comments

Comments
 (0)