[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] 4.5 patch: xendomains noise to stderr in rdname()
Instead of tracking down which commit involving libxl* which prints all kind of noise to stderr, I will post a workaround. If you build, install, and use 4.5 this bug will drive you mad, so here it is: -------------------- snip ----------------- --- a/tools/hotplug/Linux/xendomains.in +++ b/tools/hotplug/Linux/xendomains.in@@ -175,7 +175,7 @@ contains_something() # read name from xen config file rdname() { - NM=$($CMD create --quiet --dryrun --defconfig "$1" | + NM=$($CMD create --quiet --dryrun --defconfig "$1" 2>&1 | sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name": "\(.*\)",$/\1/p') } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |