1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-23 12:18:51 +02:00

improved pre-push test script

This commit is contained in:
Jesse Duffield 2018-12-18 21:27:39 +11:00
parent c35255b7a9
commit a4beabf4b9

View File

@ -16,7 +16,10 @@ read username
echo -n "Password for 'github': " echo -n "Password for 'github': "
read password read password
# echo "failed" if [ "$username" = "username" -a "$password" = "password" ]; then
# exit 1 echo "success"
exit 0
fi
exit 0 >&2 echo "incorrect username/password"
exit 1