diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-gencontrol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/oh-gencontrol b/src/oh-gencontrol index 405c560..f7f3684 100644 --- a/src/oh-gencontrol +++ b/src/oh-gencontrol @@ -32,6 +32,12 @@ missing_field() exit 2 } +invalid_pkg_name() +{ + printf 'ERROR: Invalid package name: "%s"\n' "${1}" >&2 + exit 2 +} + if [ ${#} -eq 0 ]; then print_usage ${0} >&2 exit 1 |