Blame SOURCES/0001-supress-partx-usage-error.patch

a7ff61
From e14d60d17e4447a92c5127e0a5cc3312e0215014 Mon Sep 17 00:00:00 2001
a7ff61
From: Juerg Haefliger <juerg.haefliger@hp.com>
a7ff61
Date: Fri, 22 Nov 2013 09:40:21 +0100
a7ff61
Subject: [PATCH] supress partx usage error
a7ff61
a7ff61
---
a7ff61
 bin/growpart | 2 +-
a7ff61
 1 file changed, 1 insertion(+), 1 deletion(-)
a7ff61
a7ff61
diff --git a/bin/growpart b/bin/growpart
a7ff61
index 85c2d1f..595c40b 100755
a7ff61
--- a/bin/growpart
a7ff61
+++ b/bin/growpart
a7ff61
@@ -448,7 +448,7 @@ verify_ptupdate() {
a7ff61
 	fi
a7ff61
 
a7ff61
 	if command -v partx >/dev/null 2>&1; then
a7ff61
-		partx --help | grep -q -- --update || {
a7ff61
+		partx --help 2>/dev/null | grep -q -- --update || {
a7ff61
 			reason="partx has no '--update' flag in usage."
a7ff61
 			found="off"
a7ff61
 		}
a7ff61
-- 
a7ff61
1.8.3.2
a7ff61