diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 13:43:26 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 13:43:26 +0200 |
commit | 1d4cb5e40977692a1bfc1b470125de8df9973b03 (patch) | |
tree | c902d46ed9964e685d5832a02715569312bb6816 /shell_only.sh | |
parent | 1973881fd17aceaec47fea6d479412b8ac72b3a4 (diff) |
set -e
Diffstat (limited to 'shell_only.sh')
-rwxr-xr-x | shell_only.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell_only.sh b/shell_only.sh index 8e2b0a9..26ced7e 100755 --- a/shell_only.sh +++ b/shell_only.sh @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. +set -e + function called_directly { [[ ${SHLVL} -eq 2 ]] } |