mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Merge pull request #1254 from DundarGoc/SC2178
Fixed shellcheck warnings SC2178 and SC2128.
This commit is contained in:
commit
6406fcfafd
1 changed files with 2 additions and 1 deletions
|
@ -688,7 +688,8 @@ validIP(){
|
|||
}
|
||||
|
||||
validIPAndNetmask(){
|
||||
local ip=$1
|
||||
local ip
|
||||
ip=$1
|
||||
local stat=1
|
||||
ip="${ip/\//.}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue