Skip to content

Commit 426fa44

Browse files
committed
use the same set options
1 parent b36b6d6 commit 426fa44

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bin/login-hedgedoc-via-gitlab.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
#!/usr/bin/env bash
2+
# Documentation & Code: https://github.com/hedgedoc/cli
3+
4+
### Bash environment setup
5+
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
6+
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
7+
set -o errexit
8+
set -o errtrace
9+
set -o nounset
10+
set -o pipefail
11+
12+
##############################################################################
213

314
username=${1}; shift
415
password=${1}; shift

0 commit comments

Comments
 (0)