summaryrefslogtreecommitdiffstats
path: root/lib/controlfields
diff options
context:
space:
mode:
Diffstat (limited to 'lib/controlfields')
-rw-r--r--lib/controlfields2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controlfields b/lib/controlfields
index 12e3c71..18ac1b1 100644
--- a/lib/controlfields
+++ b/lib/controlfields
@@ -117,6 +117,6 @@ ${_line}"
# 1 on invalid name
oh_validate_pkg_name()
{
- echo "${1}" | grep -E '^[a-z0-9][a-z0-9.+-]+$'
+ echo "${1}" | grep -E '^[a-z0-9][a-z0-9.+-]+$' > /dev/null
return ${?}
}