Inverted commas are deleted (cli)
This commit is contained in:
parent
9e58068834
commit
8cd960b5b3
|
@ -58,7 +58,7 @@ done
|
||||||
|
|
||||||
function insertCredentials() {
|
function insertCredentials() {
|
||||||
cat ${user_credentials} > ${file_credentials}
|
cat ${user_credentials} > ${file_credentials}
|
||||||
cat "${pass_credentials}" >> ${file_credentials}
|
cat ${pass_credentials} >> ${file_credentials}
|
||||||
if [ -f "${1}" ] ; then
|
if [ -f "${1}" ] ; then
|
||||||
check_credentials=$(cat "${1}" | grep "auth-user-pass ${file_credentials}")
|
check_credentials=$(cat "${1}" | grep "auth-user-pass ${file_credentials}")
|
||||||
if [ -z "${check_credentials}" ] ; then
|
if [ -z "${check_credentials}" ] ; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user