All of lore.kernel.org
 help / color / mirror / Atom feed
From: Min Lee <min.lee@gatech.edu>
To: Xen-devel@lists.xensource.com
Subject: Bug in xendomains script?
Date: Fri, 18 Jun 2010 10:13:52 -0400	[thread overview]
Message-ID: <4C1B7F20.4000800@gatech.edu> (raw)

Hi, I think this in xendomains script might be a bug.
It seems like it checks errors from 'xm list', but it didn't work in my 
case. 'xm list' works fine, but it exits the script.

if `xm list &> /dev/null`
then
          exit 0
fi

So, I've changed it to..

if [ "`xm list &> /dev/null`" != "" ]; then
         exit 0
fi

Now it's working... seems like a small bug..
thanks
Min

                 reply	other threads:[~2010-06-18 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C1B7F20.4000800@gatech.edu \
    --to=min.lee@gatech.edu \
    --cc=Xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.