summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-02 22:30:15 +0000
committerMatt Wilson <msw@redhat.com>2001-07-02 22:30:15 +0000
commit837956a61973a398988cfd2e67a85805cc333ae2 (patch)
tree26647287e427810fae03d3b6c1f95da390b9e7df
parentb98191b76f580a79d34052744c17a5cd6cbe3659 (diff)
downloadanaconda-837956a61973a398988cfd2e67a85805cc333ae2.tar.gz
anaconda-837956a61973a398988cfd2e67a85805cc333ae2.tar.xz
anaconda-837956a61973a398988cfd2e67a85805cc333ae2.zip
stop frobbing cdrom drives as well
-rw-r--r--isys/isys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 5741ad326..1db81b8ab 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -1383,7 +1383,7 @@ static PyObject * doIsIdeRemovable(PyObject * s, PyObject * args) {
close(fd);
str[i - 1] = '\0'; /* chop off trailing \n */
- if (!strcmp(str, "floppy"))
+ if (!strcmp(str, "floppy") || !strcmp(str, "cdrom"))
rc = 1;
else
rc = 0;