mirror of
https://tildegit.org/solene/iblock.git
synced 2024-11-22 02:00:02 +01:00
no need to look in PATH
This commit is contained in:
parent
9b755ab627
commit
3cadbbe7df
2
main.c
2
main.c
@ -46,7 +46,7 @@ int main(int argc, char *argv[]){
|
||||
switch (sock.ss_family) {
|
||||
case AF_INET: /* FALLTHROUGH */
|
||||
case AF_INET6:
|
||||
execlp("/usr/bin/doas", "doas", "/sbin/pfctl", "-t", table, "-T", "add", ip, NULL);
|
||||
execl("/usr/bin/doas", "doas", "/sbin/pfctl", "-t", table, "-T", "add", ip, NULL);
|
||||
break;
|
||||
default:
|
||||
exit(2);
|
||||
|
Loading…
Reference in New Issue
Block a user