forgot to exit on failure if username is incorrect
This commit is contained in:
parent
05bb181348
commit
a328ca0881
|
@ -6,6 +6,7 @@ source "$(dirname $0)/config"
|
|||
# Checking if UserName has been defined
|
||||
if [[ -z ${UserName} ]] || [[ $UserName == "changemeplease" ]]; then
|
||||
echo "GitHub username is incorrect of undefined in config file. Exiting..."
|
||||
exit 2
|
||||
fi
|
||||
|
||||
GitHubApi="https://api.github.com/users/${UserName}/starred"
|
||||
|
|
Loading…
Reference in New Issue