summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
Diffstat (limited to 'command-stubs')
-rwxr-xr-xcommand-stubs/list-harddrives-stub2
1 files changed, 1 insertions, 1 deletions
diff --git a/command-stubs/list-harddrives-stub b/command-stubs/list-harddrives-stub
index ac215a9ff..41add100c 100755
--- a/command-stubs/list-harddrives-stub
+++ b/command-stubs/list-harddrives-stub
@@ -23,7 +23,7 @@ driveList = drives.keys()
driveList.sort()
for drive in driveList:
- if isys.driveIsRemovable(drive):
+ if not isys.mediaPresent(drive):
continue
# try to open and get size