このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
jan
/
jans_shell_utils
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
アクティビティ
ソースを参照
wrap
main
Jan Lehnardt
3年前
親
dff8ebf05a
コミット
4bd87a344c
1個のファイルの変更
、
2行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
ファイルの表示
@@ -1,4 +1,5 @@
# if you run a script with -e that produces state that you want to clean up if anything goes wrong in your script, this helps:
# if you run a script with -e that produces state that you want to clean up if
# anything goes wrong in your script, this helps:
trap 'handle_error' ERR
書き込み
プレビュー
読み込み中…
キャンセル
保存