We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37ab65 commit 370c6f8Copy full SHA for 370c6f8
test.sh
@@ -6,7 +6,7 @@ DID_FAIL=0
6
7
checkUrl() {
8
set +e
9
- if [ "$2" = "form" ]; then
+ if [ "${2:-}" = "form" ]; then
10
curl -# --cookie-jar /tmp/test.cookie-jar -b /tmp/test.cookie-jar --fail \
11
-s \
12
-H 'Content-Type: application/x-www-form-urlencoded' \
0 commit comments