Fix consul message.
This commit is contained in:
parent
48a0fb5bd0
commit
c0dc26a577
1 changed files with 2 additions and 1 deletions
|
@ -51,10 +51,11 @@ cat << eof
|
|||
if [ "\$cksum_is" = "$cksum_should" ]; then
|
||||
chown root:root "$destination"
|
||||
chmod 755 "$destination"
|
||||
echo "__consul/usr/local/bin/consul" >> "$__messages_out"
|
||||
else
|
||||
rm -f "$destination"
|
||||
echo "Failed to verify checksum for $__object_name" >&2
|
||||
exit 1
|
||||
fi
|
||||
eof
|
||||
|
||||
echo "__consul/usr/local/bin/consul" >> "$__messages_out"
|
||||
|
|
Loading…
Reference in a new issue