Moved push successful message inside conditional
This commit is contained in:
parent
801686876d
commit
31bfbde0c8
1 changed files with 1 additions and 2 deletions
|
@ -53,10 +53,9 @@ if [[ -n $(yadm status --porcelain) ]]; then
|
|||
# shellcheck source=/dev/null
|
||||
source "$sshenv"
|
||||
yadm push
|
||||
echo "$AYM Push successful!"
|
||||
else
|
||||
echo "$AYE ssh-agent environment not found, aborting push..."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$AYM Push successful!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue