[V7] Bench update non-zero exit error

@hereabdulla try following and post your feedback

in your case custom username: vhrs / usually default username: frappe

sudo su - vhrs
cd /home/vhrs/bench-repo && git reset --hard && git pull

Then run bench update

Alway remember to run all commands not as root but as frappe or custom username you have chosen while installing bench and erpnext.

Caution: Running commands as root user will lead to various issues due to mixed up permissions.