Commit c5710e4a authored by Florent VINCENT's avatar Florent VINCENT

fix $NB_LINES var value

parent 905d888b
......@@ -49,7 +49,7 @@ if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then
MBOX=${ACCOUNT%%@*}
echo "Updating system persistent info"
NB_LINES = $(grep -R "\:$MBOX$" $AUTH_FILE_DONE |wc -l)
NB_LINES=$(grep -R "\:$MBOX$" $AUTH_FILE_DONE |wc -l)
# if ONLY one line found in auth.file.done, delete it
if [[ $NB_LINES = "1" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment