diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-07-05 17:45:29 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-07-05 17:45:29 +0200 |
commit | 9efa2ed17852a9d4e6f93609138436b5e4b552f2 (patch) | |
tree | 4bfeba7e27ef0deb0e7f2e817eec825dc3d84c07 /src | |
parent | 7488bbad3118596c1eaef9e0acb9819b039ea6bf (diff) | |
download | vyos-1x-9efa2ed17852a9d4e6f93609138436b5e4b552f2.tar.gz vyos-1x-9efa2ed17852a9d4e6f93609138436b5e4b552f2.zip |
T734: use existsEffective instead of exists in DNS forwarding restart script to make it work from op mode.
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/dns_forwarding_restart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/dns_forwarding_restart.sh b/src/op_mode/dns_forwarding_restart.sh index 12106fcc1..8e556f2f0 100755 --- a/src/op_mode/dns_forwarding_restart.sh +++ b/src/op_mode/dns_forwarding_restart.sh @@ -1,6 +1,6 @@ #!/bin/sh -if cli-shell-api exists service dns forwarding; then +if cli-shell-api existsEffective service dns forwarding; then echo "Restarting the DNS forwarding service" systemctl restart pdns-recursor else |