forked from lda/telodendria
Apply #34
This commit is contained in:
parent
a356403cfd
commit
9494016d2d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ readpwd() {
|
||||||
curlec() {
|
curlec() {
|
||||||
RETURN="$(curl -w "\n%{http_code}" "$@" 2> /dev/null)"
|
RETURN="$(curl -w "\n%{http_code}" "$@" 2> /dev/null)"
|
||||||
ERROR_CODE="$(echo "$RETURN" | tail -n1)"
|
ERROR_CODE="$(echo "$RETURN" | tail -n1)"
|
||||||
RETURN="$(echo "$RETURN" | head -n"-1")"
|
RETURN="$(echo "$RETURN" | sed '$d')"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Prompts user to login and gives out an access token to use
|
# Prompts user to login and gives out an access token to use
|
||||||
|
|
Loading…
Reference in a new issue