aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libalpine.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libalpine.sh.in b/libalpine.sh.in
index a03deb3..7aec815 100644
--- a/libalpine.sh.in
+++ b/libalpine.sh.in
@@ -89,7 +89,7 @@ is_xen() {
# Detect if we are running Xen Dom0
is_xen_dom0() {
is_xen && \
- grep -q "control_d" /proc/xen/capabilities
+ grep -q "control_d" /proc/xen/capabilities 2>/dev/null
}
# list of available network interfaces that aren't part of any bridge or bond