Created
July 21, 2020 19:54
-
-
Save daniel12fsp/72104cc04a646a46ae65b16d1c9eb41c to your computer and use it in GitHub Desktop.
Revisions
-
daniel12fsp created this gist
Jul 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/bin/sh set -x set -e trap 'catch' ERR catch() { echo "An error has occurred =(" exit 1 } case "$1" in init) ;; *) echo "Command not found" ;; esac