summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclient/engine/Inventory.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib
index 86b649ce..848cd754 100755
--- a/client/engine/Inventory.lib
+++ b/client/engine/Inventory.lib
@@ -253,7 +253,7 @@ if [ "$*" == "help" ]; then
fi
# Obtener nÂș de serie (ignorar los no especificados)
-dmidecode -s system-serial-number | egrep -vi "( +|not specified|filled by o.e.m.)"
+dmidecode -s system-serial-number | egrep -vi "(^[ 0]+$|not specified|filled by o.e.m.)"
}