[rhel6-branch 24/30] Omit unsupported wipefs -f flag.
mulkieran
installerbot-noreply at redhat.com
Thu May 28 21:04:29 UTC 2015
From: mulhern <amulhern at redhat.com>
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/formats/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/formats/__init__.py b/blivet/formats/__init__.py
index af32fb6..27b7704 100644
--- a/blivet/formats/__init__.py
+++ b/blivet/formats/__init__.py
@@ -396,7 +396,7 @@ def destroy(self, **kwargs):
log_method_call(self, device=self.device,
type=self.type, status=self.status)
try:
- rc = run_program(["wipefs", "-f", "-a", self.device])
+ rc = run_program(["wipefs", "-a", self.device])
except OSError as e:
err = str(e)
else:
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/896a5dad7d2488e433b5d1dd798b840560fa680d
More information about the anaconda-patches
mailing list