<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/26/2016 10:11 PM, Christopher
      Larson wrote:<br>
    </div>
    <blockquote
cite="mid:CABcZANk9BJp_1wMrv7mR8-vLk3JfMkdxRqTMqcWm62nHkCrnBw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, May 26, 2016 at 12:44 PM,
            Ming Liu <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:liu.ming50@gmail.com" target="_blank">liu.ming50@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">From:
              Ming Liu &lt;<a moz-do-not-send="true"
                href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.atlascopco.com</a>&gt;<br>
              <br>
              To avoid reporting errors when swapoff does not exist.<br>
              <br>
              Signed-off-by: Ming Liu &lt;<a moz-do-not-send="true"
                href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.atlascopco.com</a>&gt;<br>
            </blockquote>
            <div><br>
            </div>
            <div>This will suppress *real* errors as well. Better to
              just check if swapoff exists and then run it if it does,
              if that's a concern.</div>
          </div>
        </div>
      </div>
    </blockquote>
    Yes, checking if it exists makes more sense. And swapon is being
    used with 2&gt; /dev/null as well in some places, better to change
    them also. I will send a V1 soon.<br>
    <br>
    //Ming Liu<br>
    <blockquote
cite="mid:CABcZANk9BJp_1wMrv7mR8-vLk3JfMkdxRqTMqcWm62nHkCrnBw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">-- <br>
          <div class="gmail_signature">Christopher Larson<br>
            clarson at kergoth dot com<br>
            Founder - BitBake, OpenEmbedded, OpenZaurus<br>
            Maintainer - Tslib<br>
            Senior Software Engineer, Mentor Graphics</div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>