mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
netmode: testnet: use pgrep to check if tesnet is running
This commit is contained in:
parent
6aa3467f29
commit
332b6ce7b6
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ interface_check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface_check
|
interface_check
|
||||||
if [ -n "$(pidof testnet)" ]; then
|
if [ -n "$(pgrep -f testnet)" ]; then
|
||||||
testnet once
|
testnet once
|
||||||
else
|
else
|
||||||
testnet &
|
testnet &
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue