aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libLumina/LuminaOS-Debian.cpp2
-rw-r--r--libLumina/LuminaOS-Gentoo.cpp2
-rw-r--r--libLumina/LuminaOS-Linux.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp
index e351ddd0..75aad108 100644
--- a/libLumina/LuminaOS-Debian.cpp
+++ b/libLumina/LuminaOS-Debian.cpp
@@ -40,7 +40,7 @@ QStringList LOS::ExternalDevicePaths(){
QString type = devs[i].section(" on ",0,0);
type.remove("/dev/");
//Determine the type of hardware device based on the dev node
- if(type.startsWith("sd") || type.startsWith("nvme"){ type = "HDRIVE"; }
+ if(type.startsWith("sd") || type.startsWith("nvme")){ type = "HDRIVE"; }
else if(type.startsWith("sr")){ type="DVD"; }
else if(type.contains("mapper")){ type="LVM"; }
else{ type = "UNKNOWN"; }
diff --git a/libLumina/LuminaOS-Gentoo.cpp b/libLumina/LuminaOS-Gentoo.cpp
index 4029ee51..e3d5fe56 100644
--- a/libLumina/LuminaOS-Gentoo.cpp
+++ b/libLumina/LuminaOS-Gentoo.cpp
@@ -40,7 +40,7 @@ QStringList LOS::ExternalDevicePaths(){
QString type = devs[i].section(" on ",0,0);
type.remove("/dev/");
//Determine the type of hardware device based on the dev node
- if(type.startsWith("sd") || type.startsWith("nvme"){ type = "HDRIVE"; }
+ if(type.startsWith("sd") || type.startsWith("nvme")){ type = "HDRIVE"; }
else if(type.startsWith("sr")){ type="DVD"; }
else if(type.contains("mapper")){ type="LVM"; }
else{ type = "UNKNOWN"; }
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp
index 7bb803bd..5939c9d1 100644
--- a/libLumina/LuminaOS-Linux.cpp
+++ b/libLumina/LuminaOS-Linux.cpp
@@ -37,7 +37,7 @@ QStringList LOS::ExternalDevicePaths(){
QString type = devs[i].section(" ",0,0);
type.remove("/dev/");
//Determine the type of hardware device based on the dev node
- if(type.startsWith("sd") || type.startsWith("nvme"){ type = "HDRIVE"; }
+ if(type.startsWith("sd") || type.startsWith("nvme")){ type = "HDRIVE"; }
else if(type.startsWith("sr")){ type="DVD"; }
else if(type.contains("mapper")){ type="LVM"; }
else{ type = "UNKNOWN"; }
bgstack15