From 337572d8d61c37c2121a96ec7ab79e191eaa2e29 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 3 Feb 2009 15:47:13 +0100 Subject: [PATCH 1/1] also check devidex2 here --- lib/python/Components/Harddisk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 9cf9b4a2..404baafa 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -130,7 +130,7 @@ class Harddisk: cmd = "/bin/umount" for line in procfile: - if line.startswith(self.devidex): + if line.startswith(self.devidex) or line.startswith(self.devidex2): parts = line.split() cmd = ' '.join([cmd, parts[1]]) -- 2.30.2