diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prokit.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/prokit.sh b/src/prokit.sh index 91e76c8..8a82e26 100644 --- a/src/prokit.sh +++ b/src/prokit.sh @@ -83,9 +83,12 @@ main() else cmd="${1}" shift - check_uid || error 1 "$(get_msg 'uid_0_req')" fi + case "${cmd}" in + 'help'|'version') ;; + *) check_uid || error 1 "$(get_msg 'uid_0_req')";; + esac run_cmd "${cmd}" "${@}" return ${?} |