Managor 3 лет назад
Родитель
Сommit
f00f1ac7b6
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      pages/common/set.md

+ 4 - 0
pages/common/set.md

@@ -17,3 +17,7 @@
 - Set various options, e.g. enable `vi` style line editing:
 
 `set -o {{vi}}`
+
+- Set the shell to exit as soon as the first error is encountered (mostly used in scripts):
+
+`set -e`