Skip to content
Snippets Groups Projects
Commit c4b091c2 authored by Bob Mottram's avatar Bob Mottram
Browse files

Fix static analysis failures

parent 087115fa
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ function change_password_bdsmail {
sed -i "s|set smtp_url=.*|set smtp_url=smtp://${curr_username}:${new_user_password}@127.0.0.1:$I2P_SMTP_PORT/" "/home/${USERNAME}/.mutt/bdsmail"
sed -i "s|set from=.*|set from=${USERNAME}@$(bdsmail_domain)|g" "/home/${USERNAME}/.mutt/bdsmail"
chown "${USERNAME}":"${USERNAME}" "/home/${USERNAME}/.mutt/bdsmail"
cd $BDSMAIL_DIR
cd $BDSMAIL_DIR || exit 2468246
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini "$curr_username" "/home/$curr_username/Maildir/i2p" "$new_user_password"
fi
done
......@@ -319,7 +319,7 @@ function install_bdsmail {
if [ -d /repos/bdsmail ]; then
mkdir $BDSMAIL_DIR
cp -r -p /repos/bdsmail/. $BDSMAIL_DIR
cd $BDSMAIL_DIR
cd $BDSMAIL_DIR || exit 24687246
git pull
else
git_clone "$BDSMAIL_REPO" "$BDSMAIL_DIR"
......@@ -330,7 +330,7 @@ function install_bdsmail {
exit 5735735
fi
cd $BDSMAIL_DIR
cd $BDSMAIL_DIR || exit 2468246
git checkout "$BDSMAIL_COMMIT" -b "$BDSMAIL_COMMIT"
set_completion_param "bdsmail commit" "$BDSMAIL_COMMIT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment