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
|
# shellcheck source=/dev/null
|
||||||
source "$sshenv"
|
source "$sshenv"
|
||||||
yadm push
|
yadm push
|
||||||
|
echo "$AYM Push successful!"
|
||||||
else
|
else
|
||||||
echo "$AYE ssh-agent environment not found, aborting push..."
|
echo "$AYE ssh-agent environment not found, aborting push..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$AYM Push successful!"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue