removed redundant sudo declaration
This commit is contained in:
parent
ad137d531d
commit
a6a9a1d283
@ -38,7 +38,6 @@ complete -F _pw_completion pw
|
|||||||
function doh()
|
function doh()
|
||||||
{
|
{
|
||||||
local options
|
local options
|
||||||
SUDO=sudo
|
|
||||||
options=(start stop restart status)
|
options=(start stop restart status)
|
||||||
if [[ ! " ${options[@]} " =~ " ${1} " ]]; then
|
if [[ ! " ${options[@]} " =~ " ${1} " ]]; then
|
||||||
echo "wrong option, valid: ${options[@]}"
|
echo "wrong option, valid: ${options[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user