From 837956a61973a398988cfd2e67a85805cc333ae2 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 2 Jul 2001 22:30:15 +0000 Subject: stop frobbing cdrom drives as well --- isys/isys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isys') 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; -- cgit