<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">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><div>According to <a href="https://bugs.launchpad.net/layer-snap/+bug/1588322">https://bugs.launchpad.net/layer-snap/+bug/1588322</a> , this was supposed to have been fixed with 2.18.<br></div></div><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Stuart Bishop <<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></div>
</div></div>