summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-21 13:04:04 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-21 13:04:04 (EST)
commitecd96656b993eba29d93e46c29caf7ad4ba67713 (patch)
tree2d6d3688d2d5c9c0769a70793dd3253b0c98c874 /lib
parent3aa6feb0dd18a99d692ad4e0408dc0efe535916d (diff)
Fix stray output.
Diffstat (limited to 'lib')
-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 ${?}
}