All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug in xendomains script?
@ 2010-06-18 14:13 Min Lee
  0 siblings, 0 replies; only message in thread
From: Min Lee @ 2010-06-18 14:13 UTC (permalink / raw)
  To: Xen-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-18 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 14:13 Bug in xendomains script? Min Lee

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.