fix check in cmd_pid() for failure to connect to tincd
This commit is contained in:
parent
4314df644e
commit
e47fe48aed
1 changed files with 1 additions and 1 deletions
|
@ -1391,7 +1391,7 @@ static int cmd_pid(int argc, char *argv[]) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if(!connect_tincd(true) && !pid)
|
||||
if(!connect_tincd(true) || !pid)
|
||||
return 1;
|
||||
|
||||
printf("%d\n", pid);
|
||||
|
|
Loading…
Reference in a new issue