removed redundant sudo declaration

This commit is contained in:
Jonas Forsberg 2020-05-04 08:13:35 +02:00
parent ad137d531d
commit a6a9a1d283
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -38,7 +38,6 @@ complete -F _pw_completion pw
function doh()
{
local options
SUDO=sudo
options=(start stop restart status)
if [[ ! " ${options[@]} " =~ " ${1} " ]]; then
echo "wrong option, valid: ${options[@]}"