<div dir="ltr">Excellent, thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 15, 2017 at 11:54 PM, Stuart Bishop <span dir="ltr"><<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 14 January 2017 at 03:33, Max Brustkern <span dir="ltr"><<a href="mailto:max.brustkern@canonical.com" target="_blank">max.brustkern@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>I'm attempting to run automated upgrade tests from the stable release to candidate versions. If I run<br></div>snap refresh x<br></div>and there is no new version of x, the snap command exits with status 1. Is there a command I can use to check if an update is available and only install in that case? Right now I don't know how to distinguish an update failure from a case where the system is already up to date.<br></div></div></div></blockquote><div><br></div></span><div>According to <a href="https://bugs.launchpad.net/layer-snap/+bug/1588322" target="_blank">https://bugs.launchpad.net/<wbr>layer-snap/+bug/1588322</a> , this was supposed to have been fixed with 2.18.<span class="HOEnZb"><font color="#888888"><br></font></span></div></div><span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div class="m_-8594553339506090483gmail_signature" data-smartmail="gmail_signature">Stuart Bishop <<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></div>

</font></span></div></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br></div>