removed redundant sudo declaration
This commit is contained in:
@@ -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[@]}"
|
||||||
|
Reference in New Issue
Block a user